public abstract static class DayCareEvent.HourGlassUsed extends DayCareEvent
Modifier and Type | Class and Description |
---|---|
static class |
DayCareEvent.HourGlassUsed.Post |
static class |
DayCareEvent.HourGlassUsed.Pre |
DayCareEvent.HourGlassUsed, DayCareEvent.PostCollect, DayCareEvent.PostConditionStatusUpdate, DayCareEvent.PostDurationCalculate, DayCareEvent.PostEggCalculate, DayCareEvent.PostPokemonAdd, DayCareEvent.PostTimerBegin, DayCareEvent.PreCollect, DayCareEvent.PreConditionStatusUpdate, DayCareEvent.PreDurationCalculate, DayCareEvent.PreEggCalculate, DayCareEvent.PrePokemonAdd, DayCareEvent.PreTimerBegin, DayCareEvent.TimerComplete
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.data.BlockStateVariantBuilder.ITriFunction<net.minecraft.entity.player.ServerPlayerEntity,java.lang.Integer,int[],java.lang.Boolean> |
handler |
protected net.minecraft.item.ItemStack |
item |
Constructor and Description |
---|
HourGlassUsed(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party,
net.minecraft.item.ItemStack item,
net.minecraft.data.BlockStateVariantBuilder.ITriFunction<net.minecraft.entity.player.ServerPlayerEntity,java.lang.Integer,int[],java.lang.Boolean> handler) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.data.BlockStateVariantBuilder.ITriFunction<net.minecraft.entity.player.ServerPlayerEntity,java.lang.Integer,int[],java.lang.Boolean> |
getHandler() |
net.minecraft.item.ItemStack |
getItem() |
getDayCare, getParty, getPlayer
protected net.minecraft.item.ItemStack item
protected net.minecraft.data.BlockStateVariantBuilder.ITriFunction<net.minecraft.entity.player.ServerPlayerEntity,java.lang.Integer,int[],java.lang.Boolean> handler
public HourGlassUsed(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party, net.minecraft.item.ItemStack item, net.minecraft.data.BlockStateVariantBuilder.ITriFunction<net.minecraft.entity.player.ServerPlayerEntity,java.lang.Integer,int[],java.lang.Boolean> handler)