public class PodiumBlock
extends net.minecraft.block.Block
net.minecraft.block.Block.RenderSideCacheKey
net.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.util.math.shapes.VoxelShape |
BASE_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
COLLISION_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
COMMON_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
EAST_SHAPE |
static net.minecraft.state.DirectionProperty |
FACING |
static net.minecraft.state.BooleanProperty |
HAS_BOOK |
static net.minecraft.util.math.shapes.VoxelShape |
NORTH_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
POST_SHAPE |
static net.minecraft.state.BooleanProperty |
POWERED |
static net.minecraft.util.math.shapes.VoxelShape |
SOUTH_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
TOP_PLATE_SHAPE |
static net.minecraft.util.math.shapes.VoxelShape |
WEST_SHAPE |
BLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer
Constructor and Description |
---|
PodiumBlock(net.minecraft.block.AbstractBlock.Properties properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsMovement(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.pathfinding.PathType type) |
boolean |
canProvidePower(net.minecraft.block.BlockState blockState) |
net.minecraft.tileentity.TileEntity |
createTileEntity(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
net.minecraft.util.math.shapes.VoxelShape |
getCollisionShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
int |
getComparatorInputOverride(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.shapes.VoxelShape |
getRenderShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader world,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
int |
getStrongPower(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
int |
getWeakPower(net.minecraft.block.BlockState blockState,
net.minecraft.world.IBlockReader blockReader,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction side) |
boolean |
hasComparatorInputOverride(net.minecraft.block.BlockState state) |
boolean |
hasTileEntity(net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
mirror(net.minecraft.block.BlockState state,
net.minecraft.util.Mirror mirrorIn) |
net.minecraft.util.ActionResultType |
onBlockActivated(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.math.BlockRayTraceResult hit) |
void |
onReplaced(net.minecraft.block.BlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
boolean isMoving) |
static void |
pulse(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state) |
net.minecraft.block.BlockState |
rotate(net.minecraft.block.BlockState state,
net.minecraft.util.Rotation rot) |
void |
tick(net.minecraft.block.BlockState blockState,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
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, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, ticksRandomly, toString
eventReceived, getAmbientOcclusionLightValue, getCollisionShape, getContainer, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderType, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, isValidPosition, neighborChanged, onBlockAdded, onBlockClicked, onEntityCollision, onProjectileCollision, randomTick, spawnAdditionalDrops, updateDiagonalNeighbors, updatePostPlacement
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final net.minecraft.state.DirectionProperty FACING
public static final net.minecraft.state.BooleanProperty HAS_BOOK
public static final net.minecraft.state.BooleanProperty POWERED
public static final net.minecraft.util.math.shapes.VoxelShape BASE_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape POST_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape COMMON_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape TOP_PLATE_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape COLLISION_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape WEST_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape NORTH_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape EAST_SHAPE
public static final net.minecraft.util.math.shapes.VoxelShape SOUTH_SHAPE
public PodiumBlock(net.minecraft.block.AbstractBlock.Properties properties)
@Nonnull @ParametersAreNonnullByDefault public net.minecraft.util.ActionResultType onBlockActivated(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.math.BlockRayTraceResult hit)
onBlockActivated
in class net.minecraft.block.AbstractBlock
public boolean hasTileEntity(net.minecraft.block.BlockState state)
@Nullable public net.minecraft.tileentity.TileEntity createTileEntity(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader world)
@Nonnull @ParametersAreNonnullByDefault public net.minecraft.util.math.shapes.VoxelShape getRenderShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos)
getRenderShape
in class net.minecraft.block.AbstractBlock
@Nonnull public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement
in class net.minecraft.block.Block
public boolean hasComparatorInputOverride(@Nonnull net.minecraft.block.BlockState state)
hasComparatorInputOverride
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public int getComparatorInputOverride(net.minecraft.block.BlockState blockState, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
getComparatorInputOverride
in class net.minecraft.block.AbstractBlock
@Nonnull @ParametersAreNonnullByDefault public net.minecraft.util.math.shapes.VoxelShape getCollisionShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.shapes.ISelectionContext context)
getCollisionShape
in class net.minecraft.block.AbstractBlock
@Nonnull @ParametersAreNonnullByDefault public net.minecraft.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader blockReader, net.minecraft.util.math.BlockPos pos, net.minecraft.util.math.shapes.ISelectionContext context)
getShape
in class net.minecraft.block.AbstractBlock
@Nonnull public net.minecraft.block.BlockState rotate(net.minecraft.block.BlockState state, net.minecraft.util.Rotation rot)
rotate
in class net.minecraft.block.AbstractBlock
@Nonnull public net.minecraft.block.BlockState mirror(net.minecraft.block.BlockState state, net.minecraft.util.Mirror mirrorIn)
mirror
in class net.minecraft.block.AbstractBlock
protected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer
in class net.minecraft.block.Block
@ParametersAreNonnullByDefault public void onReplaced(net.minecraft.block.BlockState state, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState newState, boolean isMoving)
onReplaced
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public boolean allowsMovement(net.minecraft.block.BlockState state, net.minecraft.world.IBlockReader blockReader, net.minecraft.util.math.BlockPos pos, net.minecraft.pathfinding.PathType type)
allowsMovement
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public void tick(net.minecraft.block.BlockState blockState, net.minecraft.world.server.ServerWorld world, net.minecraft.util.math.BlockPos pos, java.util.Random rand)
tick
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public boolean canProvidePower(net.minecraft.block.BlockState blockState)
canProvidePower
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public int getWeakPower(net.minecraft.block.BlockState blockState, net.minecraft.world.IBlockReader blockReader, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction side)
getWeakPower
in class net.minecraft.block.AbstractBlock
@ParametersAreNonnullByDefault public int getStrongPower(net.minecraft.block.BlockState blockState, net.minecraft.world.IBlockReader blockReader, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction side)
getStrongPower
in class net.minecraft.block.AbstractBlock
public static void pulse(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.block.BlockState state)