public final class CasingBlock
extends net.minecraft.block.Block
implements net.minecraft.block.BlockEntityProvider
| Constructor and Description |
|---|
CasingBlock(net.minecraft.block.Block.Settings builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activate(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.hit.BlockHitResult blockHitResult) |
static boolean |
activate(net.minecraft.item.ItemUsageContext context) |
protected void |
appendProperties(net.minecraft.state.StateFactory.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.block.entity.BlockEntity |
createBlockEntity(net.minecraft.world.BlockView view) |
boolean |
emitsRedstonePower(net.minecraft.block.BlockState state) |
int |
getComparatorOutput(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.ItemStack |
getPickStack(net.minecraft.world.BlockView view,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Direction side,
net.minecraft.block.BlockState state) |
int |
getWeakRedstonePower(net.minecraft.block.BlockState blockState,
net.minecraft.world.BlockView world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Direction side) |
boolean |
hasComparatorOutput(net.minecraft.block.BlockState state) |
void |
neighborUpdate(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block neighborBlock,
net.minecraft.util.math.BlockPos neighborPos,
boolean isMoved) |
void |
onBlockRemoved(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoved) |
void |
updateBlockState(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
addStacksForDisplay, afterBreak, allowsSpawning, asItem, buildTooltip, calcBlockBreakingDelta, canConnect, canMobSpawnInside, canPlaceAt, canPlaceAtSide, canReplace, canSuffocate, createContainerProvider, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getAmbientOcclusionLightLevel, getBlastResistance, getBlockBrightness, getBlockFromItem, getCollisionShape, getDefaultState, getDroppedStacks, getDroppedStacks, getDroppedStacks, getDropTableId, getFluidState, getHardness, getLightSubtracted, getLuminance, getMapColor, getMaterial, getOffsetPos, getOffsetType, getOutlineShape, getPickStack, getPistonBehavior, getPlacementState, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderingState, getRenderLayer, getRenderType, getSlipperiness, getSoundGroup, getStateFactory, getStateForNeighborUpdate, getStateFromRawId, getStrongRedstonePower, getTextComponent, getTickRate, getTranslationKey, hasBlockEntity, hasBlockEntityBreakingRender, hasDynamicBounds, hasRandomTicks, hasSidedTransparency, isAir, isFaceFullSquare, isFullOpaque, isNaturalDirt, isNaturalStone, isOpaque, isShapeFullCube, isSideInvisible, isSimpleFullBlock, isSolidFullSquare, isSolidMediumSquare, isSolidSmallSquare, isTranslucent, matches, method_9517, method_9571, mirror, onBlockAction, onBlockAdded, onBlockBreakStart, onBreak, onBroken, onDestroyedByExplosion, onEntityCollision, onEntityLand, onLandedUpon, onPlaced, onProjectileHit, onRainTick, onRandomTick, onScheduledTick, onStacksDropped, onSteppedOn, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replaceBlock, rotate, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, shouldPostProcess, toString, updateNeighborStatesprotected void appendProperties(net.minecraft.state.StateFactory.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
appendProperties in class net.minecraft.block.Blockpublic void updateBlockState(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public net.minecraft.item.ItemStack getPickStack(net.minecraft.world.BlockView view,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Direction side,
net.minecraft.block.BlockState state)
public net.minecraft.block.entity.BlockEntity createBlockEntity(net.minecraft.world.BlockView view)
createBlockEntity in interface net.minecraft.block.BlockEntityProviderpublic static boolean activate(net.minecraft.item.ItemUsageContext context)
public boolean activate(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.hit.BlockHitResult blockHitResult)
activate in class net.minecraft.block.Blockpublic void onBlockRemoved(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoved)
onBlockRemoved in class net.minecraft.block.Blockpublic boolean hasComparatorOutput(net.minecraft.block.BlockState state)
hasComparatorOutput in class net.minecraft.block.Blockpublic int getComparatorOutput(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
getComparatorOutput in class net.minecraft.block.Blockpublic int getWeakRedstonePower(net.minecraft.block.BlockState blockState,
net.minecraft.world.BlockView world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.Direction side)
getWeakRedstonePower in class net.minecraft.block.Blockpublic boolean emitsRedstonePower(net.minecraft.block.BlockState state)
emitsRedstonePower in class net.minecraft.block.Blockpublic void neighborUpdate(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.Block neighborBlock,
net.minecraft.util.math.BlockPos neighborPos,
boolean isMoved)
neighborUpdate in class net.minecraft.block.Block