public abstract class ConfigurableBlockWithInnerBlocksExtended
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException
Exception that can occur when the tile is invalid.
|
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 |
|---|
ConfigurableBlockWithInnerBlocksExtended(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig,
net.minecraft.block.material.Material material,
java.lang.Class<? extends InnerBlocksTileEntity> tileEntity)
Make a new blockState instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addHitEffects(net.minecraft.world.World worldObj,
net.minecraft.util.MovingObjectPosition target,
net.minecraft.client.particle.EffectRenderer effectRenderer) |
boolean |
canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
If the given blockState can be set to an inner blockState of this.
|
int |
colorMultiplier(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
int renderPass) |
float |
getBlockHardness(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.util.MovingObjectPosition target,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
float |
getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
InnerBlocksTileEntity |
getTile(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
Get the tile entity.
|
boolean |
removedByPlayer(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest) |
boolean |
saveNBTToDroppedItem() |
boolean |
setInnerBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
Convert the blockState at the given location to an inner blockState of this.
|
net.minecraft.block.state.IBlockState |
unwrapInnerBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
Try to unwrap the inner blockState from this blockState.
|
breakBlock, createBlockState, createDelegatedBlockState, createDynamicModel, createNewTileEntity, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockDestroyedByExplosion, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, setRotatable, writeAdditionalInfoaddCollisionBoxesToList, addDestroyEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockLayer, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, 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, isFullCube, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, updateTickpublic ConfigurableBlockWithInnerBlocksExtended(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig,
net.minecraft.block.material.Material material,
java.lang.Class<? extends InnerBlocksTileEntity> tileEntity)
eConfig - Config for this blockState.material - Material of this blockState.tileEntity - The tile classpublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean saveNBTToDroppedItem()
saveNBTToDroppedItem in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic InnerBlocksTileEntity getTile(net.minecraft.world.IBlockAccess world, net.minecraft.util.BlockPos blockPos) throws ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException
world - The world.blockPos - The position.ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException - If the found tile was invalid or no InnerBlocksTileEntity.public boolean removedByPlayer(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest)
removedByPlayer in class net.minecraft.block.Blockpublic int colorMultiplier(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
int renderPass)
colorMultiplier in class net.minecraft.block.Blockpublic boolean canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
canHarvestBlock in class net.minecraft.block.Blockpublic float getBlockHardness(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
getBlockHardness in class net.minecraft.block.Blockpublic float getPlayerRelativeBlockHardness(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
getPlayerRelativeBlockHardness in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getPickBlock(net.minecraft.util.MovingObjectPosition target,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
getPickBlock in class net.minecraft.block.Blockpublic boolean setInnerBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - The world.blockPos - The position.public net.minecraft.block.state.IBlockState unwrapInnerBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - The world.blockPos - The position.public boolean canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
block - The blockState to set as inner blockState.world - The world.blockPos - The position.public boolean addHitEffects(net.minecraft.world.World worldObj,
net.minecraft.util.MovingObjectPosition target,
net.minecraft.client.particle.EffectRenderer effectRenderer)
addHitEffects in class net.minecraft.block.Block