public class ColossalChest
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerGui
implements org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListener
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyBool |
ACTIVE |
static PropertyMaterial |
MATERIAL |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, RANDOM, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness| Constructor and Description |
|---|
ColossalChest(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
Show the structure forming error in the given player chat window.
|
void |
breakBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected net.minecraft.block.state.BlockState |
createBlockState() |
net.minecraft.util.EnumWorldBlockLayer |
getBlockLayer() |
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer() |
static net.minecraft.util.BlockPos |
getCoreLocation(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
Get the core block location.
|
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGui() |
static ColossalChest |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
boolean |
isFullCube() |
boolean |
isOpaqueCube() |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumFacing side,
float par7,
float par8,
float par9) |
void |
onBlockAdded(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState) |
net.minecraft.block.state.IBlockState |
onBlockPlaced(net.minecraft.world.World worldIn,
net.minecraft.util.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.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
void |
onDetect(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid,
net.minecraft.util.BlockPos originCorner) |
static org.cyclops.cyclopscore.block.multi.DetectionResult |
triggerDetector(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
boolean valid) |
getGuiID, getMod, isNormalCube, onPostBlockDestroyed, tryCloseClientGuicreateDelegatedBlockState, createDynamicModel, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onModelBakeEvent, onPreBlockDestroyed, saveNBTToDroppedItem, setRotatable, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, updateTickpublic static final net.minecraft.block.properties.PropertyBool ACTIVE
public static final PropertyMaterial MATERIAL
public ColossalChest(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static ColossalChest getInstance()
public boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isFullCube()
isFullCube in class net.minecraft.block.Blockpublic net.minecraft.util.EnumWorldBlockLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic static org.cyclops.cyclopscore.block.multi.DetectionResult triggerDetector(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
boolean valid)
public void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack)
onBlockPlacedBy in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic void onBlockAdded(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState)
onBlockAdded in class net.minecraft.block.Blockpublic void breakBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state)
breakBlock in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic void onDetect(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid,
net.minecraft.util.BlockPos originCorner)
onDetect in interface org.cyclops.cyclopscore.block.multi.CubeDetector.IDetectionListenerpublic java.lang.Class<? extends net.minecraft.inventory.Container> getContainer()
getContainer in interface org.cyclops.cyclopscore.inventory.IGuiContainerProviderpublic java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> getGui()
getGui in interface org.cyclops.cyclopscore.inventory.IGuiContainerProvider@Nullable
public static net.minecraft.util.BlockPos getCoreLocation(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - The world.blockPos - The start position to search from.public static void addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
world - The world.blockPos - The start position.player - The player.public void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockprotected net.minecraft.block.state.BlockState createBlockState()
createBlockState in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.block.state.IBlockState onBlockPlaced(net.minecraft.world.World worldIn,
net.minecraft.util.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 boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumFacing side,
float par7,
float par8,
float par9)
onBlockActivated in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerGui