Jump to content

ornamau

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by ornamau

  1. I'm trying make gun which shoot when player holds RMB. @Override public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) { context.getPlayer().sendMessage(new TranslationTextComponent("item.overpixel.tracer.test"), context.getPlayer().getUniqueID()); } How to fix it? Should I try another way instead? How can I detect if player holds any key or press it?
×
×
  • Create New...

Important Information

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