Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final Consumer<ArmorStand> consumer = armorStand -> {
- armorStand.setVisible(true);
- armorStand.setSmall(true);
- armorStand.setArms(true);
- CompProperty.GRAVITY.apply(armorStand, false);
- armorStand.setMarker(false);
- armorStand.setItemInHand(itemStack);
- };
- final ArmorStand stand2 = player.getWorld().spawn(playerLocation, ArmorStand.class, consumer);
- stand2.setArms(true);
- stand2.setRightArmPose(new EulerAngle(20, 0, 0));
- Common.runTimer(5, () -> CompParticle.ELECTRIC_SPARK.spawn(ArmourStandUtil.getSmallArmTip(stand2)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement