public class BlockDarkOre
extends net.minecraft.block.Block
implements org.cyclops.cyclopscore.item.IInformationProvider
ItemDarkGem.net.minecraft.block.Block.RenderSideCacheKeynet.minecraft.block.AbstractBlock.AbstractBlockState, net.minecraft.block.AbstractBlock.IExtendedPositionPredicate<A>, net.minecraft.block.AbstractBlock.IPositionPredicate, net.minecraft.block.AbstractBlock.OffsetType, net.minecraft.block.AbstractBlock.Properties| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.state.BooleanProperty |
GLOWING |
BLOCK_STATE_IDS, LOGGER, RANDOM, stateContainer| Constructor and Description |
|---|
BlockDarkOre(net.minecraft.block.AbstractBlock.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateTick(net.minecraft.block.BlockState stateIn,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random rand) |
protected void |
fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder) |
int |
getExpDrop(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
int fortune,
int silktouch) |
net.minecraft.util.text.IFormattableTextComponent |
getInfo(net.minecraft.item.ItemStack itemStack) |
net.minecraft.block.BlockState |
getStateForPlacement(net.minecraft.item.BlockItemUseContext context) |
net.minecraft.util.ActionResultType |
onBlockActivated(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn,
net.minecraft.util.math.BlockRayTraceResult p_225533_6_) |
void |
onBlockClicked(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player) |
void |
onEntityWalk(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity) |
void |
provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag iTooltipFlag) |
void |
tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random rand) |
boolean |
ticksRandomly(net.minecraft.block.BlockState state) |
addInformation, asItem, canDropFromExplosion, cannotAttach, canSpawnInBlock, canSustainPlant, doesSideFillSquare, dropXpOnBlockBreak, fillItemGroup, fillWithRain, getBlockFromItem, getDefaultState, getDrops, getDrops, getExplosionResistance, getHarvestLevel, getHarvestTool, getItem, getJumpFactor, getSelf, getSlipperiness, getSoundType, getSpeedFactor, getStateById, getStateContainer, getStateId, getTags, getTranslatedName, getTranslationKey, getValidBlockForPosition, harvestBlock, hasEnoughSolidSide, hasSolidSideOnTop, isIn, isOpaque, isVariableOpacity, makeCuboidShape, matchesBlock, nudgeEntitiesWithNewState, onBlockHarvested, onBlockPlacedBy, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, replaceBlock, replaceBlockState, setDefaultState, shouldSideBeRendered, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, toStringallowsMovement, canProvidePower, eventReceived, getAmbientOcclusionLightValue, getCollisionShape, getCollisionShape, getComparatorInputOverride, getContainer, getDrops, getFluidState, getLootTable, getMaterialColor, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRayTraceShape, getRenderShape, getRenderType, getShape, getStrongPower, getWeakPower, hasComparatorInputOverride, isAir, isReplaceable, isReplaceable, isSideInvisible, isTileEntityProvider, isTransparent, isValidPosition, mirror, neighborChanged, onBlockAdded, onEntityCollision, onProjectileCollision, onReplaced, randomTick, rotate, spawnAdditionalDrops, updateDiagonalNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlaypublic BlockDarkOre(net.minecraft.block.AbstractBlock.Properties properties)
protected void fillStateContainer(net.minecraft.state.StateContainer.Builder<net.minecraft.block.Block,net.minecraft.block.BlockState> builder)
fillStateContainer in class net.minecraft.block.Blockpublic net.minecraft.block.BlockState getStateForPlacement(net.minecraft.item.BlockItemUseContext context)
getStateForPlacement in class net.minecraft.block.Blockpublic int getExpDrop(net.minecraft.block.BlockState state,
net.minecraft.world.IWorldReader world,
net.minecraft.util.math.BlockPos pos,
int fortune,
int silktouch)
getExpDrop in interface net.minecraftforge.common.extensions.IForgeBlockpublic void onBlockClicked(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player)
onBlockClicked in class net.minecraft.block.AbstractBlockpublic void onEntityWalk(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.Entity entity)
onEntityWalk in class net.minecraft.block.Blockpublic net.minecraft.util.ActionResultType onBlockActivated(net.minecraft.block.BlockState state,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn,
net.minecraft.util.math.BlockRayTraceResult p_225533_6_)
onBlockActivated in class net.minecraft.block.AbstractBlockpublic boolean ticksRandomly(net.minecraft.block.BlockState state)
ticksRandomly in class net.minecraft.block.Blockpublic void tick(net.minecraft.block.BlockState state,
net.minecraft.world.server.ServerWorld world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random rand)
tick in class net.minecraft.block.AbstractBlockpublic void animateTick(net.minecraft.block.BlockState stateIn,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random rand)
animateTick in class net.minecraft.block.Blockpublic net.minecraft.util.text.IFormattableTextComponent getInfo(net.minecraft.item.ItemStack itemStack)
getInfo in interface org.cyclops.cyclopscore.item.IInformationProviderpublic void provideInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> list,
net.minecraft.client.util.ITooltipFlag iTooltipFlag)
provideInformation in interface org.cyclops.cyclopscore.item.IInformationProvider