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) |
boolean |
canProvidePower(net.minecraft.block.state.IBlockState state) |
net.minecraft.tileentity.TileEntity |
createNewTileEntity(net.minecraft.world.IBlockReader iBlockReader) |
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) |
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 |
onBlockActivated(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 |
onReplaced(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) |
void |
updateBlockState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
addInformation, allowsMovement, asItem, canDropFromExplosion, canEntitySpawn, canSilkHarvest, canSpawnInBlock, causesSuffocation, collisionRayTrace, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, func_200122_a, func_200123_i, func_200125_k, func_208061_a, func_209900_a, getAmbientOcclusionLightValue, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionShape, getDefaultState, getExplosionResistance, getFluidState, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getShape, getSilkTouchDrop, getSlipperiness, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getSubBlocks, getTickRandomly, getTranslationKey, getValidBlockForFacing, getValidBlockForPosition, harvestBlock, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFullCube, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, needsPostProcessing, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, quantityDropped, randomDisplayTick, randomTick, register, register, registerBlocks, replaceBlock, setDefaultState, shouldSideBeRendered, spawnAsEntity, tick, tickRate, toString, validateNeighborBlocks, validatePlacement, 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 createNewTileEntity(net.minecraft.world.IBlockReader iBlockReader)
createNewTileEntity in interface net.minecraft.block.ITileEntityProviderpublic boolean onBlockActivated(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)
onBlockActivated in class net.minecraft.block.Blockpublic void onReplaced(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)
onReplaced 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