public class LureExpiringEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Field and Description |
---|---|
int |
damage
The amount of damage that will be done to the lure.
|
LureItem |
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.ServerPlayerEntity |
player
The player whose lure is degrading.
|
Constructor and Description |
---|
LureExpiringEvent(net.minecraft.entity.player.ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
LureItem.LureStrength |
getStrength()
Gets the lure strength.
|
LureItem.LureType |
getType()
Gets the lure type.
|
public final net.minecraft.entity.player.ServerPlayerEntity player
public final PlayerPartyStorage party
PlayerPartyStorage
that the lure is housed in.public final net.minecraft.item.ItemStack lureStack
public final LureItem lure
public int damage
public LureExpiringEvent(net.minecraft.entity.player.ServerPlayerEntity player)
public LureItem.LureType getType()
public LureItem.LureStrength getStrength()