Advertisement
JackOUT

Untitled

Mar 1st, 2022
1,072
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1.         final Consumer<ArmorStand> consumer = armorStand -> {
  2.             armorStand.setVisible(true);
  3.             armorStand.setSmall(true);
  4.             armorStand.setArms(true);
  5.             CompProperty.GRAVITY.apply(armorStand, false);
  6.             armorStand.setMarker(false);
  7.             armorStand.setItemInHand(itemStack);
  8.         };
  9.  
  10.         final ArmorStand stand2 = player.getWorld().spawn(playerLocation, ArmorStand.class, consumer);
  11.         stand2.setArms(true);
  12.         stand2.setRightArmPose(new EulerAngle(20, 0, 0));
  13.         Common.runTimer(5, () -> CompParticle.ELECTRIC_SPARK.spawn(ArmourStandUtil.getSmallArmTip(stand2)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement