public class ConfigurableBlockSapling
extends net.minecraft.block.BlockSapling
implements org.cyclops.cyclopscore.config.configurable.IConfigurableBlock
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.IProperty[] |
_COMPAT |
static net.minecraft.block.properties.IProperty[] |
_COMPAT_IGNORED |
protected org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig |
eConfig |
protected boolean |
hasGui |
BLOCK_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 |
|---|
ConfigurableBlockSapling(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig,
net.minecraft.block.material.Material material)
Make a new blockState instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.block.state.BlockState |
createBlockState() |
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<?> |
getConfig() |
void |
getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list) |
void |
grow(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random) |
boolean |
hasGui() |
canGrow, canUseBonemeal, damageDropped, generateTree, getMetaFromState, getStateFromMeta, grow, isTypeAt, updateTickcanBlockStay, canPlaceBlockAt, canPlaceBlockOn, checkAndDropBlock, getBlockLayer, getCollisionBoundingBox, getPlant, getPlantType, isFullCube, isOpaqueCube, onNeighborBlockChangeaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, colorMultiplier, createStackedBlock, createTileEntity, disableStats, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderColor, getRenderType, 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, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRatepublic static final net.minecraft.block.properties.IProperty[] _COMPAT
public static final net.minecraft.block.properties.IProperty[] _COMPAT_IGNORED
protected org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig
protected boolean hasGui
public ConfigurableBlockSapling(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig eConfig,
net.minecraft.block.material.Material material)
eConfig - Config for this blockState.material - Material of this blockState.protected net.minecraft.block.state.BlockState createBlockState()
createBlockState in class net.minecraft.block.BlockSaplingpublic 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 void getSubBlocks(net.minecraft.item.Item item,
net.minecraft.creativetab.CreativeTabs creativeTabs,
java.util.List list)
getSubBlocks in class net.minecraft.block.BlockSaplingpublic void grow(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
java.util.Random random)
grow in class net.minecraft.block.BlockSapling