public class BlockSpawningHandler
extends java.lang.Object
Constructor and Description |
---|
BlockSpawningHandler() |
Modifier and Type | Method and Description |
---|---|
static BlockSpawningHandler |
getInstance() |
void |
performBattleStartCheck(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity,
PixelmonEntity entityPixelmon,
BattleStartTypes startType,
net.minecraft.block.BlockState state,
java.lang.Object... extra)
Rolls to determine if a battle should happen and then calls for the specific battle type
|
public static BlockSpawningHandler getInstance()
public void performBattleStartCheck(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.Entity entity, PixelmonEntity entityPixelmon, BattleStartTypes startType, net.minecraft.block.BlockState state, java.lang.Object... extra)
world
- the world the block is inpos
- the BlockPos
of the grass blockentity
- the player in the grass block (uncast)entityPixelmon
- the pixelmon that started the check (if applicable)startType
- state
-