public class NetherfishSpawn extends ConfigurableBlockWithInnerBlocks
Netherfish when the blockState breaks.ConfigurableBlockWithInnerBlocks.BlockColor| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyInteger |
FAKEMETA |
INNER_BLOCKSeConfig, hasGui, isInventoryBlock, pass, propertyManagerBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, 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.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState) |
int |
quantityDropped(java.util.Random random) |
addHitEffects, canHarvestBlock, createDynamicModel, damageDropped, getBlockColorHandler, getBlockFromMeta, getBlockFromState, getBlockHardness, getInfo, getInnerBlocks, getItemDropped, getMetadataFromBlock, getPickBlock, getPlayerRelativeBlockHardness, getSubBlocks, hasDynamicModel, provideInformationcreateBlockState, createDelegatedBlockState, getConfig, getMetaFromState, getStateForPlacement, getStateFromMeta, hasGui, onModelBakeEventaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addInformation, addLandingEffects, beginLeavesDecay, breakBlock, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockLayer, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffset, getOffsetType, getPackedLightmapCoords, getRenderType, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, 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, isOpaqueCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockExploded, onBlockHarvested, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic 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.math.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.