public final class BlockCasing
extends net.minecraft.block.Block
implements net.minecraft.block.ITileEntityProvider
| Constructor and Description |
|---|
BlockCasing(net.minecraft.block.Block.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPropertiesToBuilder(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.state.IBlockState> builder) |
void |
beforeReplacingBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState newState,
boolean flag) |
boolean |
canProvidePower(net.minecraft.block.state.IBlockState state) |
net.minecraft.block.state.BlockFaceShape |
getBlockFaceShape(net.minecraft.world.IBlockReader world,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
int |
getComparatorInputOverride(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.ItemStack |
getItem(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
net.minecraft.tileentity.TileEntity |
getTileEntity(net.minecraft.world.IBlockReader iBlockReader) |
int |
getWeakPower(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side) |
boolean |
hasComparatorInputOverride(net.minecraft.block.state.IBlockState state) |
void |
neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block neighborBlock,
net.minecraft.util.math.BlockPos neighborPos) |
boolean |
onRightClick(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
updateBlockState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
addInformation, allowsMovement, canDropFromExplosion, canEntitySpawn, canSilkHarvest, canSpawnInBlock, causesSuffocation, collisionRayTrace, dropXpOnBlockBreak, eventReceived, fillWithRain, func_196242_c, func_196248_b, func_196263_a, func_196271_a, func_199601_a, func_199770_b, func_200012_i, func_200122_a, func_200123_i, func_200125_k, func_208061_a, func_208062_a, func_209900_a, getAmbientOcclusionLightValue, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBlockToPlaceOnUse, getDefaultState, getExplosionResistance, getFluidState, getItem, getItemProvider, getItemsToDropCount, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRenderLayer, getRenderType, getShape, getShapeForCollision, getShapeForRaytrace, getShapeForRender, getSilkTouchDrop, getSlipperiness, getSoundType, getStateById, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, harvestBlock, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFullCube, isNormalCube, isReplaceable, isRock, isSolid, isTagged, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, onBlockHarvested, onBlockPlace, onBlockPlacedBy, onCollisionWithEntity, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onLeftClick, onPlayerDestroy, randomDisplayTick, randomTick, registerBlock, registerBlock, registerBlocks, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnItems, tick, tickRate, toString, withMirror, withRotationprotected void addPropertiesToBuilder(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.state.IBlockState> builder)
addPropertiesToBuilder in class net.minecraft.block.Blockpublic void updateBlockState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public net.minecraft.item.ItemStack getItem(net.minecraft.world.IBlockReader reader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
getItem in class net.minecraft.block.Blockpublic net.minecraft.block.state.BlockFaceShape getBlockFaceShape(net.minecraft.world.IBlockReader world,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
getBlockFaceShape in class net.minecraft.block.Block@Nullable public net.minecraft.tileentity.TileEntity getTileEntity(net.minecraft.world.IBlockReader iBlockReader)
getTileEntity in interface net.minecraft.block.ITileEntityProviderpublic boolean onRightClick(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onRightClick in class net.minecraft.block.Blockpublic void beforeReplacingBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState newState,
boolean flag)
beforeReplacingBlock in class net.minecraft.block.Blockpublic boolean hasComparatorInputOverride(net.minecraft.block.state.IBlockState state)
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
getComparatorInputOverride in class net.minecraft.block.Blockpublic int getWeakPower(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
getWeakPower in class net.minecraft.block.Blockpublic boolean canProvidePower(net.minecraft.block.state.IBlockState state)
canProvidePower in class net.minecraft.block.Blockpublic void neighborChanged(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block neighborBlock,
net.minecraft.util.math.BlockPos neighborPos)
neighborChanged in class net.minecraft.block.Block