public class BlockPlasticBrick extends net.minecraft.block.Block implements ColorHandlers.ITintableBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockPlasticBrick.ItemPlasticBrick |
net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.PropertiesBLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition| Constructor and Description |
|---|
BlockPlasticBrick(net.minecraft.item.DyeColor color) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendHoverText(net.minecraft.item.ItemStack stack,
net.minecraft.world.IBlockReader worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flagIn) |
protected void |
createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
void |
entityInside(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entityIn) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
net.minecraft.item.DyeColor |
getColor() |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext ctx) |
int |
getTintColor(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockDisplayReader world,
net.minecraft.util.math.BlockPos pos,
int tintIndex) |
boolean |
isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
net.minecraft.block.BlockState |
updateShape(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction facing,
net.minecraft.block.BlockState facingState,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos) |
animateTick, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExplodedattack, canBeReplaced, canBeReplaced, canSurvive, defaultMaterialColor, getAnalogOutputSignal, getBlockSupportShape, getDestroyProgress, getDirectSignal, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getShape, getSignal, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isSignalSource, mirror, neighborChanged, onPlace, onProjectileHit, onRemove, randomTick, rotate, skipRendering, spawnAfterBreak, tick, triggerEvent, updateIndirectNeighbourShapes, use, useShapeForLightOcclusiongetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic void appendHoverText(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.IBlockReader worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flagIn)
appendHoverText in class net.minecraft.block.Blockpublic net.minecraft.item.DyeColor getColor()
protected void createBlockStateDefinition(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
createBlockStateDefinition in class net.minecraft.block.Blockpublic net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context)
getCollisionShape in class net.minecraft.block.AbstractBlock@Nullable public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext ctx)
getStateForPlacement in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState updateShape(net.minecraft.block.BlockState stateIn,
net.minecraft.util.Direction facing,
net.minecraft.block.BlockState facingState,
net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos currentPos,
net.minecraft.util.math.BlockPos facingPos)
updateShape in class net.minecraft.block.AbstractBlockpublic void entityInside(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entityIn)
entityInside in class net.minecraft.block.AbstractBlockpublic int getTintColor(net.minecraft.block.BlockState state,
@Nullable
net.minecraft.world.IBlockDisplayReader world,
@Nullable
net.minecraft.util.math.BlockPos pos,
int tintIndex)
getTintColor in interface ColorHandlers.ITintableBlockpublic boolean isPathfindable(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type)
isPathfindable in class net.minecraft.block.AbstractBlock