public abstract class ConfigurableBlockWithInnerBlocksExtended
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurableBlockWithInnerBlocksExtended.BlockColor |
static class |
ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException
Exception that can occur when the tile is invalid.
|
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 |
|---|
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.block.state.IBlockState blockStateOuter,
net.minecraft.world.World world,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.client.particle.ParticleManager particleManager) |
boolean |
canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player) |
boolean |
canSetInnerBlock(net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
If the given blockState can be set to an inner blockState of this.
|
net.minecraft.client.renderer.color.IBlockColor |
getBlockColorHandler() |
float |
getBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.item.ItemStack |
getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player) |
float |
getPlayerRelativeBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
void |
getSubBlocks(net.minecraft.creativetab.CreativeTabs creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list) |
static InnerBlocksTileEntity |
getTile(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
Get the tile entity.
|
boolean |
isOpaqueCube(net.minecraft.block.state.IBlockState state) |
boolean |
removedByPlayer(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest) |
boolean |
saveNBTToDroppedItem() |
boolean |
setInnerBlock(net.minecraft.world.World world,
net.minecraft.util.math.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.math.BlockPos blockPos)
Try to unwrap the inner blockState from this blockState.
|
breakBlock, createBlockState, createDelegatedBlockState, createDynamicModel, createNewTileEntity, destroyBlock, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getRenderType, getStateForPlacement, getStateFromMeta, getTileEntity, hasDynamicModel, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyedPersistence, setRotatable, tileDataToItemStack, writeAdditionalInfoeventReceived, harvestBlock, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockLayer, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getSelectedBoundingBox, getSilkTouchDrop, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, 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, isFullCube, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, 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 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.creativetab.CreativeTabs creativeTabs,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean saveNBTToDroppedItem()
saveNBTToDroppedItem in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic static InnerBlocksTileEntity getTile(net.minecraft.world.IBlockAccess world, net.minecraft.util.math.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.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player,
boolean willHarvest)
removedByPlayer in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean canHarvestBlock(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
canHarvestBlock in class net.minecraft.block.Blockpublic float getBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getBlockHardness in class net.minecraft.block.Blockpublic float getPlayerRelativeBlockHardness(net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
getPlayerRelativeBlockHardness in class net.minecraft.block.Blockpublic net.minecraft.item.ItemStack getPickBlock(net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
getPickBlock in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean setInnerBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
world - The world.blockPos - The position.public net.minecraft.block.state.IBlockState unwrapInnerBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
world - The world.blockPos - The position.public boolean canSetInnerBlock(net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
blockState - The blockState to set as inner blockState.block - The block to set as inner blockState.world - The world.blockPos - The position.public boolean addHitEffects(net.minecraft.block.state.IBlockState blockStateOuter,
net.minecraft.world.World world,
net.minecraft.util.math.RayTraceResult target,
net.minecraft.client.particle.ParticleManager particleManager)
addHitEffects in class net.minecraft.block.Blockpublic boolean isOpaqueCube(net.minecraft.block.state.IBlockState state)
isOpaqueCube in class net.minecraft.block.Block@Nullable public net.minecraft.client.renderer.color.IBlockColor getBlockColorHandler()
getBlockColorHandler in interface org.cyclops.cyclopscore.config.configurable.IConfigurableBlockgetBlockColorHandler in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainer