public class DarkOre
extends org.cyclops.cyclopscore.config.configurable.ConfigurableBlock
implements org.cyclops.cyclopscore.item.IInformationProvider
DarkGem.| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.block.properties.PropertyBool |
GLOWING |
eConfig, hasGui, isInventoryBlock, pass, propertyManagerBLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness| Constructor and Description |
|---|
DarkOre(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSilkHarvest(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player) |
protected net.minecraft.item.ItemStack |
createStackedBlock(net.minecraft.block.state.IBlockState blockState) |
void |
dropBlockAsItemWithChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
float dropchance,
int fortune) |
net.minecraft.util.BlockRenderLayer |
getBlockLayer() |
java.util.List<net.minecraft.item.ItemStack> |
getDrops(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
int fortune) |
java.lang.String |
getInfo(net.minecraft.item.ItemStack itemStack) |
static DarkOre |
getInstance()
Get the unique instance.
|
net.minecraft.item.Item |
getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero) |
boolean |
onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack heldItem,
net.minecraft.util.EnumFacing side,
float motionX,
float motionY,
float motionZ) |
void |
onBlockClicked(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player) |
void |
onBlockHarvested(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player) |
void |
onEntityCollidedWithBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.Entity entity) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
int |
quantityDropped(java.util.Random random) |
int |
quantityDroppedWithBonus(int amount,
java.util.Random random) |
void |
randomDisplayTick(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random random) |
int |
tickRate(net.minecraft.world.World world) |
void |
updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState state,
java.util.Random random) |
createBlockState, createDelegatedBlockState, createDynamicModel, getBlockColorHandler, getConfig, getMetaFromState, getStateFromMeta, hasDynamicModel, hasGui, onBlockPlaced, onModelBakeEventaddCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, breakBlock, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockAt, canPlaceBlockOnSide, canPlaceTorchOnTop, canProvidePower, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSpawnInBlock, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockState, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMobilityFlag, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSoundType, getStateById, getStateId, getStrongPower, getSubBlocks, 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, onBlockAdded, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockPlacedBy, onEntityWalk, onFallenUpon, onLanded, onNeighborBlockChange, onNeighborChange, onPlantGrow, quantityDropped, randomTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toString, withMirror, withRotationpublic DarkOre(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.BlockConfig> eConfig)
public static DarkOre getInstance()
public net.minecraft.util.BlockRenderLayer getBlockLayer()
getBlockLayer in class net.minecraft.block.Blockpublic net.minecraft.item.Item getItemDropped(net.minecraft.block.state.IBlockState blockState,
java.util.Random random,
int zero)
getItemDropped in class net.minecraft.block.Blockpublic int quantityDroppedWithBonus(int amount,
java.util.Random random)
quantityDroppedWithBonus in class net.minecraft.block.Blockpublic int quantityDropped(java.util.Random random)
quantityDropped in class net.minecraft.block.Blockpublic void dropBlockAsItemWithChance(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
float dropchance,
int fortune)
dropBlockAsItemWithChance in class net.minecraft.block.Blockpublic java.util.List<net.minecraft.item.ItemStack> getDrops(net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
int fortune)
getDrops in class net.minecraft.block.Blockprotected net.minecraft.item.ItemStack createStackedBlock(net.minecraft.block.state.IBlockState blockState)
createStackedBlock in class net.minecraft.block.Blockpublic int tickRate(net.minecraft.world.World world)
tickRate in class net.minecraft.block.Blockpublic void onBlockHarvested(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player)
onBlockHarvested in class net.minecraft.block.Blockpublic void onBlockClicked(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.entity.player.EntityPlayer player)
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 boolean onBlockActivated(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState blockState,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.item.ItemStack heldItem,
net.minecraft.util.EnumFacing side,
float motionX,
float motionY,
float motionZ)
onBlockActivated in class net.minecraft.block.Blockpublic void updateTick(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.block.state.IBlockState state,
java.util.Random random)
updateTick in class net.minecraft.block.Blockpublic void randomDisplayTick(net.minecraft.block.state.IBlockState state,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random random)
randomDisplayTick in class net.minecraft.block.Blockpublic boolean canSilkHarvest(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.entity.player.EntityPlayer player)
canSilkHarvest in class net.minecraft.block.Blockpublic java.lang.String getInfo(net.minecraft.item.ItemStack itemStack)
getInfo in interface org.cyclops.cyclopscore.item.IInformationProviderpublic void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
provideInformation in interface org.cyclops.cyclopscore.item.IInformationProvider