public class DisplayStand
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer
implements org.cyclops.cyclopscore.item.IInformationProvider
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyBool |
AXIS_X |
static net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.util.EnumFacing.AxisDirection> |
DIRECTION |
static net.minecraft.block.properties.PropertyDirection |
FACING |
static java.util.Map<net.minecraft.util.EnumFacing,net.minecraft.util.math.AxisAlignedBB> |
FACING_BOUNDS |
static net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.item.ItemStack> |
TYPE |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
DisplayStand(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bakeVariantModel(net.minecraftforge.client.event.ModelBakeEvent event,
java.lang.String variant,
boolean rotated) |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos) |
int |
getComparatorInputOverride(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.item.ItemStack |
getDisplayStandType(net.minecraft.item.ItemStack displayStandStack) |
net.minecraft.block.state.IBlockState |
getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack) |
static DisplayStand |
getInstance()
Get the unique instance.
|
void |
getSubBlocks(net.minecraft.item.Item itemIn,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List<net.minecraft.item.ItemStack> list) |
net.minecraft.item.ItemStack |
getTypedDisplayStandItem(net.minecraft.block.state.IBlockState blockState) |
boolean |
hasComparatorInputOverride(net.minecraft.block.state.IBlockState blockState) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState blockState) |
boolean |
isNormalCube(net.minecraft.block.state.IBlockState blockState) |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState blockState) |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
net.minecraft.block.state.IBlockState |
onBlockPlaced(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.EntityLivingBase entity,
net.minecraft.item.ItemStack stack) |
void |
onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
boolean |
rotateBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing axis) |
breakBlock, createBlockState, createDelegatedBlockState, createDynamicModel, createNewTileEntity, destroyBlock, getBlockColorHandler, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, removedByPlayer, saveNBTToDroppedItem, setRotatable, writeAdditionalInfohasInvalidNeighbor, isInvalidNeighbor, onBlockEventReceivedaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getCollisionBoundingBox, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getSelectedBoundingBox, getSoundType, getStateById, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic static final net.minecraft.block.properties.PropertyDirection FACING
public static final net.minecraft.block.properties.PropertyBool AXIS_X
public static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.util.EnumFacing.AxisDirection> DIRECTION
public static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.item.ItemStack> TYPE
public static final java.util.Map<net.minecraft.util.EnumFacing,net.minecraft.util.math.AxisAlignedBB> FACING_BOUNDS
public DisplayStand(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static DisplayStand getInstance()
public boolean isOpaqueCube(net.minecraft.block.state.IBlockState blockState)
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isNormalCube(net.minecraft.block.state.IBlockState blockState)
isNormalCube in class net.minecraft.block.Blockpublic boolean isFullCube(net.minecraft.block.state.IBlockState blockState)
isFullCube in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos)
getExtendedState in class net.minecraft.block.Blockpublic net.minecraft.util.math.AxisAlignedBB getBoundingBox(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess source,
net.minecraft.util.math.BlockPos pos)
getBoundingBox in class net.minecraft.block.Blockpublic boolean hasComparatorInputOverride(net.minecraft.block.state.IBlockState blockState)
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getComparatorInputOverride in class net.minecraft.block.Blockpublic net.minecraft.block.state.IBlockState onBlockPlaced(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ,
int meta,
net.minecraft.entity.EntityLivingBase placer)
onBlockPlaced in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.EntityLivingBase entity,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean rotateBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing axis)
rotateBlock in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.item.Item itemIn,
net.minecraft.creativetab.CreativeTabs tab,
java.util.List<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getTypedDisplayStandItem(net.minecraft.block.state.IBlockState blockState)
public net.minecraft.item.ItemStack getDisplayStandType(net.minecraft.item.ItemStack displayStandStack)
public boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic void onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event)
onModelBakeEvent in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerprotected void bakeVariantModel(net.minecraftforge.client.event.ModelBakeEvent event,
java.lang.String variant,
boolean rotated)
public java.lang.String getInfo(net.minecraft.item.ItemStack itemStack)
getInfo in interface org.cyclops.cyclopscore.item.IInformationProviderpublic void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
provideInformation in interface org.cyclops.cyclopscore.item.IInformationProvider