Class ShieldProxy
java.lang.Object
com.hammy275.immersivemc.common.vr.mixin_proxy.ShieldProxy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable net.minecraft.world.item.ItemStack
getABlockingShield
(net.minecraft.world.entity.LivingEntity living) static boolean
isDamageSourceBlocked
(net.minecraft.world.entity.LivingEntity living, net.minecraft.world.damagesource.DamageSource damageSource)
-
Field Details
-
shieldToDamage
public static net.minecraft.world.item.ItemStack shieldToDamage
-
-
Constructor Details
-
ShieldProxy
public ShieldProxy()
-
-
Method Details
-
getABlockingShield
@Nullable public static @Nullable net.minecraft.world.item.ItemStack getABlockingShield(net.minecraft.world.entity.LivingEntity living) -
isDamageSourceBlocked
public static boolean isDamageSourceBlocked(net.minecraft.world.entity.LivingEntity living, net.minecraft.world.damagesource.DamageSource damageSource)
-