public class PixelmonSpawnerTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.tileentity.ITickableTileEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
PixelmonSpawnerTileEntity.AreaType |
| Modifier and Type | Field and Description |
|---|---|
Aggression |
aggression |
float |
bossRatio |
boolean |
fireOnTick |
float |
gmaxRatio |
int |
levelMax |
int |
levelMin |
int |
maxSpawns |
java.util.List<PokemonRarity> |
pokemonList |
float |
shinyRatio |
java.util.List<PixelmonEntity> |
spawnedPokemon |
SpawnLocationType |
spawnLocation |
int |
spawnRadius |
int |
spawnTick |
boolean |
unbattleable |
boolean |
unbreedable |
boolean |
uncatchable |
static java.util.Set<net.minecraft.block.material.Material> |
VALID_LAND_AIR_MATERIALS |
static java.util.Set<net.minecraft.block.material.Material> |
VALID_LAND_FLOOR_MATERIALS |
| Constructor and Description |
|---|
PixelmonSpawnerTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
despawnAllPokemon() |
void |
finishEdit() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
static boolean |
isBlockValidForPixelmonSpawning(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
PixelmonSpawnerTileEntity.AreaType type) |
protected static boolean |
isMostlyEnclosedSpace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int radius) |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt) |
void |
onActivate() |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
tick() |
void |
updateRedstone() |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.util.Set<net.minecraft.block.material.Material> VALID_LAND_FLOOR_MATERIALS
public static final java.util.Set<net.minecraft.block.material.Material> VALID_LAND_AIR_MATERIALS
public java.util.List<PokemonRarity> pokemonList
public int spawnTick
public int spawnRadius
public int maxSpawns
public int levelMin
public int levelMax
public float bossRatio
public float shinyRatio
public float gmaxRatio
public boolean uncatchable
public boolean unbreedable
public boolean unbattleable
public boolean fireOnTick
public SpawnLocationType spawnLocation
public Aggression aggression
public java.util.List<PixelmonEntity> spawnedPokemon
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save in class net.minecraft.tileentity.TileEntitypublic void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt)
load in class net.minecraft.tileentity.TileEntitypublic void tick()
tick in interface net.minecraft.tileentity.ITickableTileEntityprotected static boolean isMostlyEnclosedSpace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
int radius)
public static boolean isBlockValidForPixelmonSpawning(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
PixelmonSpawnerTileEntity.AreaType type)
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic void updateRedstone()
public void onActivate()
public void finishEdit()
public void despawnAllPokemon()