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, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, displayOnCreativeTab, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, 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 |
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.util.BlockRenderLayer |
getBlockLayer() |
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 |
onEntityCollidedWithBlock(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, removedByPlayer, saveNBTToDroppedItem, setInnerBlock, unwrapInnerBlockbreakBlock, createBlockState, createDelegatedBlockState, createNewTileEntity, destroyBlock, getConfig, getDrops, getGuiTexture, getGuiTexture, getMetaFromState, getRenderType, getStateFromMeta, getTileEntity, hasGui, isDropBlockItem, isKeepNBTOnDrop, isRotatable, onBlockExploded, onBlockPlaced, onBlockPlacedBy, onModelBakeEvent, onPostBlockDestroyed, onPreBlockDestroyed, onPreBlockDestroyed, setRotatable, writeAdditionalInfoeventReceived, hasInvalidNeighbor, isInvalidNeighboraddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canEntitySpawn, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, getActualState, getAmbientOcclusionLightValue, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPackedLightmapCoords, getSelectedBoundingBox, getSoundType, getSoundType, getStateById, getStateId, getStrongPower, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, getWeakPower, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFoliage, isFullBlock, isFullCube, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isPassable, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, neighborChanged, onBlockActivated, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockHarvested, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, randomTick, rayTrace, recolorBlock, registerBlocks, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, 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 onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.math.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.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 net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Block