public class BlockReinforcedUndeadPlank
extends net.minecraft.block.Block
implements org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListener
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.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
ACTIVE |
BLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
BlockReinforcedUndeadPlank(net.minecraft.block.AbstractBlock.Properties properties) |
| 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) |
net.minecraft.block.BlockRenderType |
getRenderType(net.minecraft.block.BlockState blockState) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
net.minecraft.util.ActionResultType |
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 p_225533_6_) |
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 |
onBlockExploded(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion) |
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.vector.Vector3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner) |
void |
onPlayerDestroy(net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
boolean |
propagatesSkylightDown(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos) |
boolean |
shouldDisplayFluidOverlay(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockDisplayReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.FluidState fluidState) |
addInformation, animateTick, asItem, canDropFromExplosion, cannotAttach, canSpawnInBlock, canSustainPlant, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getBlockFromItem, getDefaultState, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getSelf, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getTags, getTranslatedName, getTranslationKey, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSideOnTop, isIn, isOpaque, isVariableOpacity, makeCuboidShape, matchesBlock, nudgeEntitiesWithNewState, onBlockHarvested, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toStringallowsMovement, canProvidePower, eventReceived, getAmbientOcclusionLightValue, getCollisionShape, getCollisionShape, getComparatorInputOverride, getContainer, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getShape, getStrongPower, getWeakPower, hasComparatorInputOverride, isAir, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, isValidPosition, mirror, neighborChanged, onBlockClicked, onEntityCollision, onProjectileCollision, onReplaced, randomTick, rotate, spawnAdditionalDrops, tick, updateDiagonalNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic BlockReinforcedUndeadPlank(net.minecraft.block.AbstractBlock.Properties properties)
protected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class net.minecraft.block.Blockpublic net.minecraft.block.BlockRenderType getRenderType(net.minecraft.block.BlockState blockState)
getRenderType in class net.minecraft.block.AbstractBlockpublic boolean propagatesSkylightDown(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos blockPos)
propagatesSkylightDown 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 boolean shouldDisplayFluidOverlay(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockDisplayReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.fluid.FluidState fluidState)
shouldDisplayFluidOverlay 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.AbstractBlockpublic void onPlayerDestroy(net.minecraft.world.IWorld worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state)
onPlayerDestroy in class net.minecraft.block.Blockpublic void onBlockExploded(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.Explosion explosion)
onBlockExploded in interface net.minecraftforge.common.extensions.IForgeBlockpublic void onDetect(net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos location,
net.minecraft.util.math.vector.Vector3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner)
onDetect in interface org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListenerpublic net.minecraft.util.ActionResultType 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 p_225533_6_)
onBlockActivated in class net.minecraft.block.AbstractBlock