public final class BlockController
extends net.minecraft.block.Block
implements net.minecraft.block.ITileEntityProvider
| Constructor and Description |
|---|
BlockController(net.minecraft.block.Block.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
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) |
int |
getComparatorInputOverride(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.tileentity.TileEntity |
getTileEntity(net.minecraft.world.IBlockReader iBlockReader) |
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) |
addInformation, addPropertiesToBuilder, allowsMovement, canDropFromExplosion, canEntitySpawn, canProvidePower, 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, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBlockToPlaceOnUse, getDefaultState, getExplosionResistance, getFluidState, getItem, 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, getWeakPower, 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, withRotationpublic BlockController(net.minecraft.block.Block.Builder builder)
public 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 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@Nullable public net.minecraft.tileentity.TileEntity getTileEntity(net.minecraft.world.IBlockReader iBlockReader)
getTileEntity in interface net.minecraft.block.ITileEntityProvider