public class BoxOfEternalClosure extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer implements org.cyclops.cyclopscore.item.IInformationProvider, IBlockRarityProvider
eConfig, hasGui, isInventoryBlock, pass, 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 |
|---|
BoxOfEternalClosure(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
int |
getComparatorInputOverride(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack) |
static BoxOfEternalClosure |
getInstance()
Get the unique instance.
|
int |
getLightValue(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos) |
net.minecraft.item.EnumRarity |
getRarity(net.minecraft.item.ItemStack itemStack) |
int |
getRenderType() |
int |
getSpiritID(net.minecraft.item.ItemStack itemStack)
Get the ID of an inner spirit, can be -1.
|
java.lang.String |
getSpiritName(net.minecraft.item.ItemStack itemStack)
Get the name of an inner spirit, can be null.
|
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
boolean |
hasComparatorInputOverride() |
boolean |
isNormalCube() |
boolean |
isOpaqueCube() |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer entityplayer,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
onNeighborBlockChange(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block block) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
void |
setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos) |
static void |
setVengeanceSwarmContent(net.minecraft.item.ItemStack itemStack)
Put a vengeance swarm inside the given box.
|
breakBlock, createBlockState, createDelegatedBlockState, createDynamicModel, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockDestroyedByExplosion, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, saveNBTToDroppedItem, setRotatable, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, 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, getBlockLayer, getBlockState, getCollisionBoundingBox, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockAdded, onBlockClicked, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, updateTickpublic BoxOfEternalClosure(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static BoxOfEternalClosure getInstance()
public void setBlockBoundsBasedOnState(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
setBlockBoundsBasedOnState in class net.minecraft.block.Blockpublic int getRenderType()
getRenderType in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.Blockpublic boolean isNormalCube()
isNormalCube in class net.minecraft.block.Blockpublic int getSpiritID(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public java.lang.String getSpiritName(net.minecraft.item.ItemStack itemStack)
itemStack - The item stack.public static void setVengeanceSwarmContent(net.minecraft.item.ItemStack itemStack)
itemStack - The box.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.IInformationProviderpublic boolean canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
canPlaceBlockAt in class net.minecraft.block.Blockpublic void onNeighborBlockChange(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block block)
onNeighborBlockChange in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer entityplayer,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic int getLightValue(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
getLightValue in class net.minecraft.block.Blockpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic net.minecraft.item.EnumRarity getRarity(net.minecraft.item.ItemStack itemStack)
getRarity in interface IBlockRarityProvideritemStack - The itemstack with this blockState.public boolean hasComparatorInputOverride()
hasComparatorInputOverride in class net.minecraft.block.Blockpublic int getComparatorInputOverride(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
getComparatorInputOverride in class net.minecraft.block.Block