public class DarkBloodBrick extends ConfigurableBlock implements CubeDetector.IDetectionListener
DarkGem.eConfig, isInventoryBlock, pass, rendererblockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, capturedDrops, captureDrops, delegate, enableStats, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreatureSpawn(net.minecraft.entity.EnumCreatureType creatureType,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z) |
net.minecraft.util.IIcon |
getIcon(int side,
int meta) |
static DarkBloodBrick |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<BlockConfig> eConfig)
Initialise the configurable.
|
boolean |
onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int side,
float posX,
float posY,
float posZ) |
void |
onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta) |
void |
onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid)
Called when a new structure has been detected.
|
void |
registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
getConfig, getIcon, getRenderBlocks, getRenderPasses, getRenderType, getTextureName, setHarvestLevelDefined, setInventoryBlock, setRenderBlocks, setRenderPass, shouldRender, updateTileEntityaddCollisionBoxesToList, addDestroyEffects, addHitEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canBlockStay, canCollideCheck, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInPass, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, createStackedBlock, createTileEntity, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCollisionBoundingBoxFromPool, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getMobilityFlag, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isLadder, isLeaves, isNormalCube, isNormalCube, isOpaqueCube, isProvidingStrongPower, isProvidingWeakPower, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isWood, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onEntityWalking, onFallenUpon, onNeighborBlockChange, onNeighborChange, onPlantGrow, onPostBlockPlaced, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolourBlock, registerBlocks, removedByPlayer, removedByPlayer, renderAsNormalBlock, rotateBlock, setBedOccupied, setBlockBounds, setBlockBoundsBasedOnState, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldCheckWeakPower, shouldSideBeRendered, tickRate, updateTick, velocityToAddToEntitypublic static void initInstance(ExtendedConfig<BlockConfig> eConfig)
eConfig - The config.public static DarkBloodBrick getInstance()
public void registerBlockIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerBlockIcons in class ConfigurableBlockpublic net.minecraft.util.IIcon getIcon(int side,
int meta)
getIcon in class ConfigurableBlockpublic boolean canCreatureSpawn(net.minecraft.entity.EnumCreatureType creatureType,
net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
canCreatureSpawn in class net.minecraft.block.Blockpublic void onBlockAdded(net.minecraft.world.World world,
int x,
int y,
int z)
onBlockAdded in class net.minecraft.block.Blockpublic void onBlockPreDestroy(net.minecraft.world.World world,
int x,
int y,
int z,
int meta)
onBlockPreDestroy in class net.minecraft.block.Blockpublic void onDetect(net.minecraft.world.World world,
ILocation location,
Size size,
boolean valid)
CubeDetector.IDetectionListeneronDetect in interface CubeDetector.IDetectionListenerworld - The world.location - The location of a block of the structure.size - The size of the structure.valid - True if the structure should be validated, false if it should be invalidated.public boolean onBlockActivated(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.entity.player.EntityPlayer player,
int side,
float posX,
float posY,
float posZ)
onBlockActivated in class net.minecraft.block.Block