package com.thebrokenrail.scriptcraft.bridge; import net.minecraft.entity.LivingEntity; import net.minecraft.util.Hand; class LivingEntityBridges { static void register() { Bridges.addBridge("LivingEntity.getStackInHand", args -> ((LivingEntity) args[0]).getStackInHand((Hand) args[1])); Bridges.addBridge("LivingEntity.getHealth", args -> ((LivingEntity) args[0]).getHealth()); } }