mc.playerController.attackEntity not doing damage of held item in Modder Support Posted October 14, 2021 Hi, this code below me works, but it only deals 1 damage. Am I using it wrong? private void attack(Entity entity) { mc.player.swingArm(EnumHand.MAIN_HAND); mc.playerController.attackEntity(mc.player, entity); }
mc.playerController.attackEntity not doing damage of held item
in Modder Support
Posted
Hi, this code below me works, but it only deals 1 damage. Am I using it wrong?
private void attack(Entity entity) { mc.player.swingArm(EnumHand.MAIN_HAND); mc.playerController.attackEntity(mc.player, entity); }