public class LureExpiredEvent
extends net.minecraftforge.fml.common.eventhandler.Event
128
. A lure casing will be returned to the player
if this event fires without being cancelled. The casing item stack can be modified
in this event. 1
. It will also prevent a lure casing
from being given to the player. Modifier and Type | Field and Description |
---|---|
net.minecraft.item.ItemStack |
casingStack
The item stack representing the casing that will be returned to the player afterwards.
|
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 has expired.
|
Constructor and Description |
---|
LureExpiredEvent(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 net.minecraft.item.ItemStack casingStack
public LureExpiredEvent(net.minecraft.entity.player.EntityPlayerMP player)
public ItemLure.LureType getType()
public ItemLure.LureStrength getStrength()