public class PixelmonSpawnerBlock
extends net.minecraft.block.ContainerBlock
net.minecraft.block.Block.RenderSideCacheKey
net.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Properties
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
PixelmonSpawnerBlock()
Initializes the Pixelmon spawner block.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canConnectRedstone(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
static boolean |
checkPermission(net.minecraft.entity.player.ServerPlayerEntity player)
Checks to see if the user has permission to edit the pixelmon spawner
|
net.minecraft.block.BlockRenderType |
getRenderShape(net.minecraft.block.BlockState state) |
void |
neighborChanged(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block blockIn,
net.minecraft.util.math.BlockPos fromPos,
boolean isMoving) |
net.minecraft.tileentity.TileEntity |
newBlockEntity(net.minecraft.world.IBlockReader worldIn) |
void |
playerWillDestroy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity player) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
net.minecraft.util.ActionResultType |
use(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult hit) |
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, createBlockStateDefinition, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getStateForPlacement, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
attack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getOcclusionShape, getOffsetType, getPistonPushReaction, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, isSignalSource, mirror, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, updateIndirectNeighbourShapes, updateShape, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public PixelmonSpawnerBlock()
public net.minecraft.tileentity.TileEntity newBlockEntity(net.minecraft.world.IBlockReader worldIn)
public net.minecraft.util.ActionResultType use(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.util.math.BlockRayTraceResult hit)
use
in class net.minecraft.block.AbstractBlock
public void playerWillDestroy(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state, net.minecraft.entity.player.PlayerEntity player)
playerWillDestroy
in class net.minecraft.block.Block
public boolean canConnectRedstone(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos, @Nullable net.minecraft.util.Direction side)
public net.minecraft.block.BlockRenderType getRenderShape(net.minecraft.block.BlockState state)
getRenderShape
in class net.minecraft.block.ContainerBlock
public void neighborChanged(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.Block blockIn, net.minecraft.util.math.BlockPos fromPos, boolean isMoving)
neighborChanged
in class net.minecraft.block.AbstractBlock
public void tick(net.minecraft.block.BlockState state, net.minecraft.world.server.ServerWorld worldIn, net.minecraft.util.math.BlockPos pos, java.util.Random rand)
tick
in class net.minecraft.block.AbstractBlock
public static boolean checkPermission(net.minecraft.entity.player.ServerPlayerEntity player)
player
- The user to check.