public class ContainerPlusBlock
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
Modifier and Type | Field and Description |
---|---|
protected int |
amountDropped |
static net.minecraft.state.EnumProperty<EnumAxis> |
AXIS |
protected java.lang.String |
iconName |
float[] |
invOffsets |
float |
invScale |
java.lang.Class<? extends net.minecraft.client.renderer.model.Model> |
modelClass |
protected boolean |
opaqueCube |
protected boolean |
renderNormalBlock |
protected int |
renderType |
protected java.lang.Class<? extends net.minecraft.tileentity.TileEntity> |
tileClass |
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
Constructor and Description |
---|
ContainerPlusBlock(net.minecraft.block.material.Material mat) |
Modifier and Type | Method and Description |
---|---|
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
boolean |
isAnotherWithSameOrientationOnSide(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
EnumAxis orientation,
net.minecraft.util.Direction dir) |
boolean |
isSameOrientationAndType(java.lang.Class<? extends net.minecraft.block.Block> blockClass,
int thisMeta,
int thatMeta) |
net.minecraft.tileentity.TileEntity |
newBlockEntity(net.minecraft.world.IBlockReader worldIn) |
static int |
rotate(int coordbaseMode,
net.minecraft.block.Block block,
int meta) |
ContainerPlusBlock |
setAmountDropped(int amount) |
ContainerPlusBlock |
setIconName(java.lang.String name) |
ContainerPlusBlock |
setModelClass(java.lang.Class<? extends net.minecraft.client.renderer.model.Model> modelClass) |
ContainerPlusBlock |
setRenderOptions(int renderType,
boolean opaqueCube,
boolean renderNormal) |
ContainerPlusBlock |
setTileEntityClass(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> tileClass) |
getMenuProvider, getRenderShape, triggerEvent
animateTick, appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, 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, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, tick, updateIndirectNeighbourShapes, updateShape, use, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, 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 static final net.minecraft.state.EnumProperty<EnumAxis> AXIS
protected java.lang.String iconName
public java.lang.Class<? extends net.minecraft.client.renderer.model.Model> modelClass
protected int renderType
protected int amountDropped
protected boolean opaqueCube
protected boolean renderNormalBlock
protected java.lang.Class<? extends net.minecraft.tileentity.TileEntity> tileClass
public float invScale
public float[] invOffsets
public ContainerPlusBlock(net.minecraft.block.material.Material mat)
public ContainerPlusBlock setRenderOptions(int renderType, boolean opaqueCube, boolean renderNormal)
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition
in class net.minecraft.block.Block
public ContainerPlusBlock setModelClass(java.lang.Class<? extends net.minecraft.client.renderer.model.Model> modelClass)
modelClass
- - Name of the Model Class. The class itself should be located
in "pixelmon.client.models", but that should not be
included in the name.public ContainerPlusBlock setAmountDropped(int amount)
public ContainerPlusBlock setIconName(java.lang.String name)
public ContainerPlusBlock setTileEntityClass(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> tileClass)
@Nullable public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement
in class net.minecraft.block.Block
public boolean isAnotherWithSameOrientationOnSide(net.minecraft.world.IWorld world, net.minecraft.util.math.BlockPos pos, EnumAxis orientation, net.minecraft.util.Direction dir)
public boolean isSameOrientationAndType(java.lang.Class<? extends net.minecraft.block.Block> blockClass, int thisMeta, int thatMeta)
public net.minecraft.tileentity.TileEntity newBlockEntity(net.minecraft.world.IBlockReader worldIn)
public static int rotate(int coordbaseMode, net.minecraft.block.Block block, int meta)