public static class BadgeCaseEvent.Remove extends BadgeCaseEvent
BadgeCaseEvent.Register, BadgeCaseEvent.Remove, BadgeCaseEvent.Swap
Constructor and Description |
---|
Remove(net.minecraft.entity.player.ServerPlayerEntity player,
boolean custom,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
net.minecraft.item.ItemStack |
getStack()
Will return null if
BadgeCaseEvent.isCustom() is false. |
getPlayer, isCustom
public Remove(net.minecraft.entity.player.ServerPlayerEntity player, boolean custom, int index)
public int getIndex()
@Nullable public net.minecraft.item.ItemStack getStack()
BadgeCaseEvent.isCustom()
is false.