public abstract class ConfigurableBlockLeaves
extends net.minecraft.block.BlockLeaves
implements org.cyclops.cyclopscore.config.configurable.IConfigurableBlock
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.IProperty[] |
_COMPAT |
protected org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig |
eConfig |
protected boolean |
hasGui |
CHECK_DECAY, DECAYABLE, iconIndex, isTransparentBLOCK_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 |
|---|
ConfigurableBlockLeaves(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
Make a new blockState instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.state.BlockState |
createBlockState() |
void |
dropBlockAsItemWithChance(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
float chance,
int fortune) |
net.minecraft.util.EnumWorldBlockLayer |
getBlockLayer() |
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<?> |
getConfig() |
abstract net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero) |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
net.minecraft.block.BlockPlanks.EnumType |
getWoodType(int meta) |
boolean |
hasGui() |
boolean |
isLeaves(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos) |
boolean |
isNormalCube() |
boolean |
isOpaqueCube() |
java.util.List<net.minecraft.item.ItemStack> |
onSheared(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
int fortune) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side) |
beginLeavesDecay, breakBlock, colorMultiplier, dropApple, getBlockColor, getDrops, getRenderColor, getSaplingDropChance, isShearable, isVisuallyOpaque, quantityDropped, randomDisplayTick, setGraphicsLevel, updateTickaddCollisionBoxesToList, addDestroyEffects, addHitEffects, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMetaFromState, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateFromMeta, 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, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, spawnAsEntity, tickRatepublic static final net.minecraft.block.properties.IProperty[] _COMPAT
protected org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig
protected boolean hasGui
public ConfigurableBlockLeaves(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig)
eConfig - Config for this blockState.protected net.minecraft.block.state.BlockState createBlockState()
createBlockState in class net.minecraft.block.Blockpublic boolean hasGui()
hasGui in interface org.cyclops.cyclopscore.config.configurable.IConfigurableBlockpublic org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<?> getConfig()
getConfig in interface org.cyclops.cyclopscore.config.configurable.IConfigurablepublic abstract net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.BlockLeavespublic void dropBlockAsItemWithChance(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
float chance,
int fortune)
dropBlockAsItemWithChance in class net.minecraft.block.BlockLeavespublic boolean isOpaqueCube()
isOpaqueCube in class net.minecraft.block.BlockLeavespublic boolean isNormalCube()
isNormalCube in class net.minecraft.block.Blockpublic boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.util.EnumFacing side)
shouldSideBeRendered in class net.minecraft.block.BlockLeavesBasepublic void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.Blockpublic boolean isLeaves(net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
isLeaves in class net.minecraft.block.BlockLeavespublic net.minecraft.block.BlockPlanks.EnumType getWoodType(int meta)
getWoodType in class net.minecraft.block.BlockLeavespublic net.minecraft.util.EnumWorldBlockLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.BlockLeavespublic java.util.List<net.minecraft.item.ItemStack> onSheared(net.minecraft.item.ItemStack item,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos,
int fortune)
onSheared in interface net.minecraftforge.common.IShearable