public final class ControllerBlock
extends net.minecraft.block.Block
implements net.minecraft.block.BlockEntityProvider
net.minecraft.block.Block.NeighborGroupnet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.ContextPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Settings, net.minecraft.block.AbstractBlock.TypedContextPredicate<A>| Constructor and Description |
|---|
ControllerBlock(net.minecraft.block.AbstractBlock.Settings builder) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.entity.BlockEntity |
createBlockEntity(net.minecraft.world.BlockView view) |
int |
getComparatorOutput(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
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 |
onStateReplaced(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean flag) |
net.minecraft.util.ActionResult |
onUse(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) |
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, is, isFaceFullSquare, isIn, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getFluidState, getLootTableId, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRayTraceShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasSidedTransparency, isSideInvisible, mirror, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onSyncedBlockEvent, prepare, randomTick, rotate, scheduledTickpublic ControllerBlock(net.minecraft.block.AbstractBlock.Settings builder)
public net.minecraft.block.entity.BlockEntity createBlockEntity(net.minecraft.world.BlockView view)
createBlockEntity in interface net.minecraft.block.BlockEntityProviderpublic net.minecraft.util.ActionResult onUse(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)
onUse in class net.minecraft.block.AbstractBlockpublic void onStateReplaced(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean flag)
onStateReplaced in class net.minecraft.block.AbstractBlockpublic boolean hasComparatorOutput(net.minecraft.block.BlockState state)
hasComparatorOutput in class net.minecraft.block.AbstractBlockpublic int getComparatorOutput(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
getComparatorOutput in class net.minecraft.block.AbstractBlockpublic 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.AbstractBlock