public class BloodStainedBlock extends ConfigurableBlockWithInnerBlocksExtended
| Modifier and Type | Class and Description |
|---|---|
static class |
BloodStainedBlock.UnstainResult
A result from unstaining a blockState.
|
ConfigurableBlockWithInnerBlocksExtended.InvalidInnerBlocksTileException| Modifier and Type | Field and Description |
|---|---|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
icon0 |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
icon1 |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
icon2 |
static net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.block.state.IBlockState> |
INNERBLOCK |
static net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.util.BlockPos> |
POS |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_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 |
|---|
BloodStainedBlock(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
If the given blockState can be set to an inner blockState of this.
|
net.minecraft.client.resources.model.IBakedModel |
createDynamicModel() |
void |
fillWithRain(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
net.minecraft.util.EnumWorldBlockLayer |
getBlockLayer() |
net.minecraft.block.state.IBlockState |
getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos) |
static BloodStainedBlock |
getInstance()
Get the unique instance.
|
boolean |
hasDynamicModel() |
protected boolean |
isBlacklisted(net.minecraft.block.Block block) |
void |
onBlockClicked(net.minecraft.world.World par1World,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer par5EntityPlayer) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.Entity entity) |
static void |
splash(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
Spawn particles.
|
void |
stainBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
int amount)
Stain a blockState, or add blood to the already stained blockState.
|
BloodStainedBlock.UnstainResult |
unstainBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
int amount)
Drain a given amount of blood from a stained blockState.
|
addHitEffects, canHarvestBlock, colorMultiplier, getBlockHardness, getPickBlock, getPlayerRelativeBlockHardness, getSubBlocks, getTile, removedByPlayer, saveNBTToDroppedItem, setInnerBlock, unwrapInnerBlockbreakBlock, createBlockState, createDelegatedBlockState, createNewTileEntity, destroyBlock, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getPickBlock, getRenderType, getStateFromMeta, getTileEntity, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, setRotatable, writeAdditionalInfofunc_181086_a, func_181087_e, onBlockEventReceivedaddCollisionBoxesToList, addDestroyEffects, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, func_181623_g, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockState, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getOffsetType, getRegistryName, getRenderColor, 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, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, recolorBlock, registerBlocks, 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 static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.block.state.IBlockState> INNERBLOCK
public static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.util.BlockPos> POS
public net.minecraft.client.renderer.texture.TextureAtlasSprite icon0
public net.minecraft.client.renderer.texture.TextureAtlasSprite icon1
public net.minecraft.client.renderer.texture.TextureAtlasSprite icon2
public BloodStainedBlock(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static BloodStainedBlock getInstance()
public void onBlockClicked(net.minecraft.world.World par1World,
net.minecraft.util.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer par5EntityPlayer)
onBlockClicked in class net.minecraft.block.Blockpublic void onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.Entity entity)
onEntityCollidedWithBlock in class net.minecraft.block.Blockpublic static void splash(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
world - The world.blockPos - The position.public void fillWithRain(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos)
fillWithRain in class net.minecraft.block.Blockpublic void stainBlock(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos,
int amount)
world - The world.blockPos - The position.amount - The amount of blood to add.public BloodStainedBlock.UnstainResult unstainBlock(net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos, int amount)
world - The world.blockPos - The position.amount - The amount of blood to drain.protected boolean isBlacklisted(net.minecraft.block.Block block)
public boolean canSetInnerBlock(net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos blockPos)
ConfigurableBlockWithInnerBlocksExtendedcanSetInnerBlock in class ConfigurableBlockWithInnerBlocksExtendedblock - The blockState to set as inner blockState.world - The world.blockPos - The position.public net.minecraft.block.state.IBlockState getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.BlockPos pos)
getExtendedState in class net.minecraft.block.Blockpublic boolean hasDynamicModel()
hasDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElementhasDynamicModel in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.client.resources.model.IBakedModel createDynamicModel()
createDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElementcreateDynamicModel in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic net.minecraft.util.EnumWorldBlockLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Block