public class EggBlockEvent
extends net.minecraftforge.eventbus.api.Event
PokemonEggBlock
Modifier and Type | Class and Description |
---|---|
static class |
EggBlockEvent.BeginFight
Event fired around when the fight begins
Allows you to swap out the PixelmonEnity is desired
|
static class |
EggBlockEvent.SelectSpecies
Event fired when the block is deciding what species it should spawn
Use the Pre event to cancel it
|
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.util.math.BlockPos |
block |
protected net.minecraft.world.World |
level |
protected net.minecraft.block.BlockState |
state |
Constructor and Description |
---|
EggBlockEvent(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos block,
net.minecraft.block.BlockState state) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.math.BlockPos |
getBlock() |
net.minecraft.world.World |
getLevel() |
net.minecraft.block.BlockState |
getState() |
protected final net.minecraft.world.World level
protected final net.minecraft.util.math.BlockPos block
protected final net.minecraft.block.BlockState state