Started by
ninjawizard1234
on
Topic category: Help with Minecraft modding (Java Edition)
so im trying to make my pistol/gun stop moving/swing while i shot, editing the .java i was able to make it stop on Creative but changing the entry SUCESS to PASS on the code below:
does anybody know how to stop it on survival too? (i set the animation to None inside the element btw)
@Override
public InteractionResultHolder<ItemStack> use(Level world, Player entity, InteractionHand hand) {
entity.startUsingItem(hand);
return new InteractionResultHolder(InteractionResult.PASS, entity.getItemInHand(hand));
}
use haste lvl 140
or [TUTORIAL] How to use Nerdy's GeckoLib Plugin 5.2+ [2023.4+] | MCreator