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, 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 |
|---|
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.entity.player.EntityPlayer player,
org.cyclops.cyclopscore.helper.L10NHelpers.UnlocalizedString unlocalizedError) |
static void |
addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
Show the structure forming error in the given player chat window.
|
void |
breakBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
static boolean |
canPlace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
boolean |
canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos) |
boolean |
canSilkHarvest(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player) |
protected net.minecraft.block.state.BlockStateContainer |
createBlockState() |
int |
damageDropped(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
java.lang.Class<? extends net.minecraft.inventory.Container> |
getContainer() |
static net.minecraft.util.math.BlockPos |
getCoreLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
Get the core block location.
|
float |
getExplosionResistance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity exploder,
net.minecraft.world.Explosion explosion) |
java.lang.Class<? extends net.minecraft.client.gui.GuiScreen> |
getGui() |
static ColossalChest |
getInstance()
Get the unique instance.
|
net.minecraft.block.state.IBlockState |
getStateForPlacement(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,
net.minecraft.util.EnumHand hand) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
boolean |
getUseNeighborBrightness(net.minecraft.block.state.IBlockState state) |
boolean |
isFullCube(net.minecraft.block.state.IBlockState blockState) |
boolean |
isKeepNBTOnDrop() |
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState blockState) |
boolean |
isToolEffective(java.lang.String type,
net.minecraft.block.state.IBlockState state) |
static boolean |
isToolEffectiveShared(java.lang.String type,
net.minecraft.block.state.IBlockState state) |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float par7,
float par8,
float par9) |
void |
onBlockAdded(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState) |
void |
onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.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.math.BlockPos location,
net.minecraft.util.math.Vec3i size,
boolean valid,
net.minecraft.util.math.BlockPos originCorner) |
static org.cyclops.cyclopscore.block.multi.DetectionResult |
triggerDetector(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
boolean valid) |
getGuiID, getModGui, isNormalCube, onPostBlockDestroyed, tryCloseClientGuicreateDelegatedBlockState, createDynamicModel, createNewTileEntity, destroyBlock, getBlockColorHandler, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isRotatable, onBlockExploded, onModelBakeEvent, onPreBlockDestroyed, onPreBlockDestroyed, removedByPlayer, saveNBTToDroppedItem, setRotatable, tileDataToItemStack, writeAdditionalInfoeventReceived, harvestBlock, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getSelectedBoundingBox, getSilkTouchDrop, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getValidRotations, getWeakChanges, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic 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 getUseNeighborBrightness(net.minecraft.block.state.IBlockState state)
getUseNeighborBrightness in class net.minecraft.block.Blockpublic static boolean isToolEffectiveShared(java.lang.String type,
net.minecraft.block.state.IBlockState state)
public static boolean canPlace(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
public boolean isToolEffective(java.lang.String type,
net.minecraft.block.state.IBlockState state)
isToolEffective in class net.minecraft.block.Blockpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState blockState)
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isFullCube(net.minecraft.block.state.IBlockState blockState)
isFullCube in class net.minecraft.block.Blockpublic net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Blockpublic static org.cyclops.cyclopscore.block.multi.DetectionResult triggerDetector(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
boolean valid)
public void onBlockPlacedBy(net.minecraft.world.World world,
net.minecraft.util.math.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.math.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.math.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.math.BlockPos location,
net.minecraft.util.math.Vec3i size,
boolean valid,
net.minecraft.util.math.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.math.BlockPos getCoreLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
world - The world.blockPos - The start position to search from.public static void addPlayerChatError(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
world - The world.blockPos - The start position.player - The player.hand - The used hand.public static void addPlayerChatError(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.cyclopscore.helper.L10NHelpers.UnlocalizedString unlocalizedError)
public void getSubBlocks(net.minecraft.creativetab.CreativeTabs creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockprotected net.minecraft.block.state.BlockStateContainer createBlockState()
createBlockState in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.block.state.IBlockState getStateForPlacement(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,
net.minecraft.util.EnumHand hand)
getStateForPlacement in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float par7,
float par8,
float par9)
onBlockActivated in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerGuipublic int damageDropped(net.minecraft.block.state.IBlockState state)
damageDropped in class net.minecraft.block.Blockpublic boolean isKeepNBTOnDrop()
isKeepNBTOnDrop in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean canPlaceBlockAt(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos)
canPlaceBlockAt in class net.minecraft.block.Blockpublic boolean canSilkHarvest(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player)
canSilkHarvest in class net.minecraft.block.Blockpublic float getExplosionResistance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity exploder,
net.minecraft.world.Explosion explosion)
getExplosionResistance in class net.minecraft.block.Block