public class LureExpiringEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Modifier and Type | Field and Description |
---|---|
int |
damage
The amount of damage that will be done to the lure.
|
ItemLure |
lure
The specific lure item.
|
net.minecraft.item.ItemStack |
lureStack
The item stack representing the lure.
|
PlayerPartyStorage |
party
The
PlayerPartyStorage that the lure is housed in. |
net.minecraft.entity.player.EntityPlayerMP |
player
The player whose lure is degrading.
|
Constructor and Description |
---|
LureExpiringEvent(net.minecraft.entity.player.EntityPlayerMP player) |
Modifier and Type | Method and Description |
---|---|
ItemLure.LureStrength |
getStrength()
Gets the lure strength.
|
ItemLure.LureType |
getType()
Gets the lure type.
|
public final net.minecraft.entity.player.EntityPlayerMP player
public final PlayerPartyStorage party
PlayerPartyStorage
that the lure is housed in.public final net.minecraft.item.ItemStack lureStack
public final ItemLure lure
public int damage
public LureExpiringEvent(net.minecraft.entity.player.EntityPlayerMP player)
public ItemLure.LureType getType()
public ItemLure.LureStrength getStrength()