public interface IFOVModifierItem
| Modifier and Type | Method and Description |
|---|---|
float |
getFOVModifier(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.EquipmentSlotType slot)
Get the FOV modifer for the given item stack.
|
float getFOVModifier(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.EquipmentSlotType slot)
stack - the equipped itemplayer - the player who has the item equippedslot - the equipment slot