public class BoxOfEternalClosure extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer implements org.cyclops.cyclopscore.item.IInformationProvider, IBlockRarityProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FORGOTTEN_PLAYER |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, field_181083_K, 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) |
java.lang.String |
getPlayerId(net.minecraft.item.ItemStack itemStack) |
java.lang.String |
getPlayerName(net.minecraft.item.ItemStack itemStack) |
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 |
hasPlayer(net.minecraft.item.ItemStack itemStack) |
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 |
setPlayerContent(net.minecraft.item.ItemStack itemStack,
java.util.UUID playerId)
Put a player inside the given box.
|
static void |
setVengeanceSwarmContent(net.minecraft.item.ItemStack itemStack)
Put a vengeance swarm inside the given box.
|
breakBlock, createBlockState, createDelegatedBlockState, createDynamicModel, createNewTileEntity, destroyBlock, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, saveNBTToDroppedItem, setRotatable, writeAdditionalInfofunc_181086_a, func_181087_e, onBlockEventReceivedaddCollisionBoxesToList, addDestroyEffects, addHitEffects, addLandingEffects, 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, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_181623_g, 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, getRegistryName, getRenderColor, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, 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, setRegistryName, setRegistryName, setRegistryName, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTickpublic static final java.lang.String FORGOTTEN_PLAYER
public 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 static void setPlayerContent(net.minecraft.item.ItemStack itemStack,
java.util.UUID playerId)
itemStack - The box.playerId - The player id to set.public java.lang.String getPlayerName(net.minecraft.item.ItemStack itemStack)
public java.lang.String getPlayerId(net.minecraft.item.ItemStack itemStack)
public boolean hasPlayer(net.minecraft.item.ItemStack itemStack)
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