public class NetherfishSpawn extends ConfigurableBlockWithInnerBlocks
Netherfish when the blockState breaks.| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyInteger |
FAKEMETA |
INNER_BLOCKSeConfig, hasGui, isInventoryBlock, pass, propertyManagerBLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, field_181083_K, 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 |
|---|
NetherfishSpawn(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
static NetherfishSpawn |
getInstance()
Get the unique instance.
|
protected net.minecraft.block.properties.PropertyInteger |
getMetaProperty() |
boolean |
getPosingIdByMetadata(net.minecraft.block.state.IBlockState blockState)
Does the given metadata correspond to an inner blockState?
|
protected net.minecraft.block.state.IBlockState[] |
makeInnerBlockList()
This should be implemented and return a list of innerblocks, they all must refer to
non-null blockState instanced to work correctly.
|
void |
onBlockDestroyedByPlayer(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState) |
int |
quantityDropped(java.util.Random random) |
addHitEffects, canHarvestBlock, colorMultiplier, createDynamicModel, createStackedBlock, damageDropped, getBlockFromMeta, getBlockFromState, getBlockHardness, getInfo, getInnerBlocks, getItemDropped, getMetadataFromBlock, getPlayerRelativeBlockHardness, getRenderColor, getSubBlocks, hasDynamicModel, provideInformationcreateBlockState, createDelegatedBlockState, getConfig, getMetaFromState, getStateFromMeta, hasGui, onBlockPlaced, onModelBakeEventaddCollisionBoxesToList, addDestroyEffects, addLandingEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createTileEntity, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_181623_g, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockLayer, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getPickBlock, getPickBlock, getRegistryName, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, 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, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setRegistryName, setRegistryName, setRegistryName, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTickpublic NetherfishSpawn(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static NetherfishSpawn getInstance()
protected net.minecraft.block.state.IBlockState[] makeInnerBlockList()
ConfigurableBlockWithInnerBlocksmakeInnerBlockList in class ConfigurableBlockWithInnerBlocksprotected net.minecraft.block.properties.PropertyInteger getMetaProperty()
getMetaProperty in class ConfigurableBlockWithInnerBlockspublic void onBlockDestroyedByPlayer(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState)
onBlockDestroyedByPlayer in class net.minecraft.block.Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic boolean getPosingIdByMetadata(net.minecraft.block.state.IBlockState blockState)
blockState - The blockstate.