Jump to content

skindervik

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by skindervik

  1. This worked for me (1.16.5) @Override public ActionResult<ItemStack> use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_) { LightningBoltEntity lightning = new LightningBoltEntity(EntityType.LIGHTNING_BOLT, p_77659_1_); lightning.setPos(p_77659_2_.getX(), p_77659_2_.getY(), p_77659_2_.getZ()); p_77659_1_.addFreshEntity(lightning); return super.use(p_77659_1_, p_77659_2_, p_77659_3_); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.