public class BoxOfEternalClosure extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer implements org.cyclops.cyclopscore.item.IInformationProvider, IBlockRarityProvider
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.item.ItemStack |
boxOfEternalClosureFilled |
static net.minecraft.block.properties.PropertyDirection |
FACING |
static java.lang.String |
FORGOTTEN_PLAYER |
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 |
|---|
BoxOfEternalClosure(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDestroyEffects(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager particleManager) |
boolean |
addHitEffects(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldObj,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.client.particle.ParticleManager particleManager) |
boolean |
addLandingEffects(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.WorldServer worldObj,
net.minecraft.util.math.BlockPos blockPosition,
net.minecraft.block.state.IBlockState iblockstate,
net.minecraft.entity.EntityLivingBase entity,
int numberOfParticles) |
boolean |
canPlaceBlockAt(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
void |
func_189540_a(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.Block block) |
net.minecraft.util.math.AxisAlignedBB |
getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
int |
getComparatorInputOverride(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack) |
static BoxOfEternalClosure |
getInstance()
Get the unique instance.
|
int |
getLightValue(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.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) |
net.minecraft.util.EnumBlockRenderType |
getRenderType(net.minecraft.block.state.IBlockState blockState) |
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(net.minecraft.block.state.IBlockState blockState) |
boolean |
hasPlayer(net.minecraft.item.ItemStack itemStack) |
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 blockPos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer entityplayer,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack heldItem,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
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, getBlockColorHandler, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, removedByPlayer, saveNBTToDroppedItem, setRotatable, writeAdditionalInfofunc_189539_a, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addInformation, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, 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, getBoundingBox, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, 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, isFullCube, isFullyOpaque, isLadder, isLeaves, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockAdded, 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, withRotationpublic static final java.lang.String FORGOTTEN_PLAYER
public static final net.minecraft.block.properties.PropertyDirection FACING
public static net.minecraft.item.ItemStack boxOfEternalClosureFilled
public BoxOfEternalClosure(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static BoxOfEternalClosure getInstance()
public net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getCollisionBoundingBox in class net.minecraft.block.Blockpublic net.minecraft.util.EnumBlockRenderType getRenderType(net.minecraft.block.state.IBlockState blockState)
getRenderType in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic 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 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.math.BlockPos blockPos)
canPlaceBlockAt in class net.minecraft.block.Blockpublic void func_189540_a(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.Block block)
func_189540_a in class net.minecraft.block.Blockpublic boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer entityplayer,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack heldItem,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onBlockActivated in class net.minecraft.block.Blockpublic int getLightValue(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.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(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 boolean addHitEffects(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World worldObj,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.client.particle.ParticleManager particleManager)
addHitEffects in class net.minecraft.block.Blockpublic boolean addDestroyEffects(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager particleManager)
addDestroyEffects in class net.minecraft.block.Blockpublic boolean addLandingEffects(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.WorldServer worldObj,
net.minecraft.util.math.BlockPos blockPosition,
net.minecraft.block.state.IBlockState iblockstate,
net.minecraft.entity.EntityLivingBase entity,
int numberOfParticles)
addLandingEffects in class net.minecraft.block.Block