public class BlockDisplayStand
extends org.cyclops.cyclopscore.block.BlockTile
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
AXIS_X |
static net.minecraftforge.client.model.data.ModelProperty<net.minecraft.util.Direction.AxisDirection> |
DIRECTION |
static net.minecraft.state.DirectionProperty |
FACING |
static java.util.Map<net.minecraft.util.Direction,net.minecraft.util.math.shapes.VoxelShape> |
FACING_BOUNDS |
static net.minecraftforge.client.model.data.ModelProperty<net.minecraft.item.ItemStack> |
TYPE |
| Constructor and Description |
|---|
BlockDisplayStand(net.minecraft.block.Block.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(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) |
void |
fillItemGroup(net.minecraft.item.ItemGroup group,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
int |
getComparatorInputOverride(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.item.ItemStack |
getDisplayStandType(net.minecraft.item.ItemStack displayStandStack) |
net.minecraft.util.math.shapes.VoxelShape |
getShape(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.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
net.minecraft.item.ItemStack |
getTypedDisplayStandItem(net.minecraft.block.BlockState blockState) |
boolean |
hasComparatorInputOverride(net.minecraft.block.BlockState blockState) |
boolean |
isValidPosition(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader worldIn,
net.minecraft.util.math.BlockPos pos) |
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 p_225533_6_) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState,
net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack) |
void |
onReplaced(net.minecraft.block.BlockState oldState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState newState,
boolean isMoving) |
void |
onRightClick(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) |
net.minecraft.block.BlockState |
rotate(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Rotation direction) |
static void |
setDisplayStandType(net.minecraft.item.ItemStack displayStandStack,
net.minecraft.item.ItemStack type) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand) |
net.minecraft.block.BlockState |
updatePostPlacement(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) |
createNewTileEntity, getDroppedItemStack, getDroppedItemStackNbt, getPickBlock, getRenderType, isPersistNbt, onBlockHarvestedallowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderShape, getSlipperiness, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasEnoughSolidSide, hasSolidSide, hasSolidSideOnTop, hasTileEntity, isAir, isEmissiveRendering, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isReplaceable, isSideInvisible, isSolid, isTransparent, isVariableOpacity, isViewBlocking, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockAdded, onBlockClicked, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighborsgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isPortalFrame, isReplaceableOreGen, isSlimeBlock, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic static final net.minecraft.state.DirectionProperty FACING
public static final net.minecraft.state.BooleanProperty AXIS_X
public static final net.minecraftforge.client.model.data.ModelProperty<net.minecraft.util.Direction.AxisDirection> DIRECTION
public static final net.minecraftforge.client.model.data.ModelProperty<net.minecraft.item.ItemStack> TYPE
public static final java.util.Map<net.minecraft.util.Direction,net.minecraft.util.math.shapes.VoxelShape> FACING_BOUNDS
public BlockDisplayStand(net.minecraft.block.Block.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.util.math.shapes.VoxelShape getShape(net.minecraft.block.BlockState state,
net.minecraft.world.IBlockReader worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.math.shapes.ISelectionContext context)
getShape in class net.minecraft.block.Blockpublic boolean hasComparatorInputOverride(net.minecraft.block.BlockState blockState)
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.block.BlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getComparatorInputOverride in class net.minecraft.block.Block@Nullable public net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class net.minecraft.block.Blockpublic void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState blockState,
net.minecraft.entity.LivingEntity entity,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState rotate(net.minecraft.block.BlockState blockState,
net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Rotation direction)
public void fillItemGroup(net.minecraft.item.ItemGroup group,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
fillItemGroup in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getTypedDisplayStandItem(net.minecraft.block.BlockState blockState)
public net.minecraft.item.ItemStack getDisplayStandType(net.minecraft.item.ItemStack displayStandStack)
public static void setDisplayStandType(net.minecraft.item.ItemStack displayStandStack,
net.minecraft.item.ItemStack type)
public void onRightClick(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event)
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 p_225533_6_)
onBlockActivated in class net.minecraft.block.Blockpublic void addInformation(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)
addInformation in class net.minecraft.block.Blockpublic boolean isValidPosition(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader worldIn,
net.minecraft.util.math.BlockPos pos)
isValidPosition in class net.minecraft.block.Blockpublic void tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random rand)
tick in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState updatePostPlacement(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)
updatePostPlacement in class net.minecraft.block.Blockpublic void onReplaced(net.minecraft.block.BlockState oldState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.BlockState newState,
boolean isMoving)
onReplaced in class net.minecraft.block.Block