public class BloodStainedBlock extends ConfigurableBlockWithInnerBlocksExtended
| Modifier and Type | Class and Description |
|---|---|
static class |
BloodStainedBlock.UnstainResult
A result from unstaining a blockState.
|
ConfigurableBlockWithInnerBlocksExtended.BlockColor, 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.math.BlockPos> |
POS |
eConfig, hasGui, isInventoryBlock, pass, propertyManager, randomBLOCK_STATE_IDS, blockHardness, blockMapColor, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, hasTileEntity, lightOpacity, lightValue, material, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, 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 |
canRenderInLayer(net.minecraft.block.state.IBlockState state,
net.minecraft.util.BlockRenderLayer layer) |
boolean |
canSetInnerBlock(net.minecraft.block.state.IBlockState blockState,
net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
If the given blockState can be set to an inner blockState of this.
|
net.minecraft.client.renderer.block.model.IBakedModel |
createDynamicModel() |
void |
fillWithRain(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos) |
net.minecraft.block.state.IBlockState |
getExtendedState(net.minecraft.block.state.IBlockState state,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.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.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer par5EntityPlayer) |
void |
onEntityCollision(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.Entity entity) |
static void |
splash(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
Spawn particles.
|
void |
stainBlock(net.minecraft.world.World world,
net.minecraft.util.math.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.math.BlockPos blockPos,
int amount)
Drain a given amount of blood from a stained blockState.
|
addHitEffects, canHarvestBlock, getBlockColorHandler, getBlockHardness, getPickBlock, getPlayerRelativeBlockHardness, getSubBlocks, getTile, isOpaqueCube, removedByPlayer, saveNBTToDroppedItem, setInnerBlock, unwrapInnerBlockbreakBlock, createBlockState, createDelegatedBlockState, createNewTileEntity, destroyBlock, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getRenderType, getStateForPlacement, getStateFromMeta, getTileEntity, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyedPersistence, setRotatable, tileDataToItemStack, writeAdditionalInfoeventReceived, harvestBlock, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addInformation, addLandingEffects, addRunningEffects, beginLeavesDecay, canBeConnectedTo, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockChestOpening, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, getActualState, getAiPathNodeType, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFaceShape, getBlockFromItem, getBlockFromName, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTab, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffset, getOffsetType, getPackedLightmapCoords, getPushReaction, getRenderLayer, getSelectedBoundingBox, getSilkTouchDrop, getSlipperiness, getSoundType, getSoundType, getStateAtViewpoint, getStateById, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, hasTileEntity, isAABBInsideLiquid, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isLadder, isLeaves, isNormalCube, isNormalCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isStickyBlock, isToolEffective, isTopSolid, isTranslucent, isWood, modifyAcceleration, neighborChanged, observedNeighborChange, onBlockActivated, onBlockAdded, onBlockHarvested, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, onPlayerDestroy, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultSlipperiness, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setTranslationKey, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, tickRate, toString, updateTick, withMirror, withRotationpublic static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.block.state.IBlockState> INNERBLOCK
public static final net.minecraftforge.common.property.IUnlistedProperty<net.minecraft.util.math.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.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer par5EntityPlayer)
onBlockClicked in class net.minecraft.block.Blockpublic void onEntityCollision(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.Entity entity)
onEntityCollision in class net.minecraft.block.Blockpublic static void splash(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
world - The world.blockPos - The position.public void fillWithRain(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
fillWithRain in class net.minecraft.block.Blockpublic void stainBlock(net.minecraft.world.World world,
net.minecraft.util.math.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.math.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.state.IBlockState blockState,
net.minecraft.block.Block block,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos)
ConfigurableBlockWithInnerBlocksExtendedcanSetInnerBlock in class ConfigurableBlockWithInnerBlocksExtendedblockState - The blockState to set as inner blockState.block - The block 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.math.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.renderer.block.model.IBakedModel createDynamicModel()
createDynamicModel in interface org.cyclops.cyclopscore.client.model.IDynamicModelElementcreateDynamicModel in class org.cyclops.cyclopscore.config.configurable.ConfigurableBlockContainerpublic boolean canRenderInLayer(net.minecraft.block.state.IBlockState state,
net.minecraft.util.BlockRenderLayer layer)
canRenderInLayer in class net.minecraft.block.Block