public class ChestWall extends net.minecraft.block.Block implements org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListener, IBlockChestMaterial
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
ENABLED |
| Constructor and Description |
|---|
ChestWall(net.minecraft.block.Block.Properties properties,
ChestMaterial material) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreatureSpawn(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.EntitySpawnPlacementRegistry.PlacementType type,
net.minecraft.entity.EntityType<?> entityType) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
float |
getExplosionResistance(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity exploder,
net.minecraft.world.Explosion explosion) |
ChestMaterial |
getMaterial() |
net.minecraft.util.BlockRenderLayer |
getRenderLayer() |
java.lang.String |
getTranslationKey() |
boolean |
isToolEffective(net.minecraft.block.BlockState state,
net.minecraftforge.common.ToolType tool) |
boolean |
isValidPosition(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos) |
boolean |
onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult) |
void |
onBlockAdded(net.minecraft.block.BlockState blockStateNew,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockStateOld,
boolean isMoving) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity placer,
net.minecraft.item.ItemStack stack) |
void |
onDetect(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos location,
net.minecraft.util.math.Vec3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner) |
void |
onExplosionDestroy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.world.Explosion explosion) |
void |
onPlayerDestroy(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState) |
addInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, func_220055_a, func_220064_c, func_220074_n, func_220080_a, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getRenderType, getShape, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockClicked, onBlockHarvested, onEntityCollision, onEntityWalk, onFallenUpon, onLanded, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRenderInLayer, collisionExtendsVertically, createTileEntity, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isReplaceableOreGen, isStickyBlock, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic ChestWall(net.minecraft.block.Block.Properties properties,
ChestMaterial material)
public java.lang.String getTranslationKey()
getTranslationKey in class net.minecraft.block.Blockpublic ChestMaterial getMaterial()
getMaterial in interface IBlockChestMaterialprotected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.Blockpublic boolean isToolEffective(net.minecraft.block.BlockState state,
net.minecraftforge.common.ToolType tool)
isToolEffective in interface net.minecraftforge.common.extensions.IForgeBlockpublic net.minecraft.util.BlockRenderLayer getRenderLayer()
getRenderLayer in class net.minecraft.block.Blockpublic boolean canCreatureSpawn(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.EntitySpawnPlacementRegistry.PlacementType type,
@Nullable
net.minecraft.entity.EntityType<?> entityType)
canCreatureSpawn in interface net.minecraftforge.common.extensions.IForgeBlockpublic void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.LivingEntity placer,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic void onBlockAdded(net.minecraft.block.BlockState blockStateNew,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockStateOld,
boolean isMoving)
onBlockAdded in class net.minecraft.block.Blockpublic void onPlayerDestroy(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState)
onPlayerDestroy in class net.minecraft.block.Blockpublic void onExplosionDestroy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.world.Explosion explosion)
onExplosionDestroy in class net.minecraft.block.Blockpublic void onDetect(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos location,
net.minecraft.util.math.Vec3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner)
onDetect in interface org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListenerpublic boolean onBlockActivated(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.util.math.BlockRayTraceResult rayTraceResult)
onBlockActivated in class net.minecraft.block.Blockpublic boolean isValidPosition(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos blockPos)
isValidPosition in class net.minecraft.block.Blockpublic float getExplosionResistance(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
@Nullable
net.minecraft.entity.Entity exploder,
net.minecraft.world.Explosion explosion)
getExplosionResistance in interface net.minecraftforge.common.extensions.IForgeBlock