public class BlockMagma extends Block
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKeyBLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Constructor and Description |
|---|
BlockMagma(Block.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEntitySpawn(IBlockState state,
Entity entityIn) |
int |
getPackedLightmapCoords(IBlockState state,
IWorldReader source,
BlockPos pos) |
boolean |
needsPostProcessing(IBlockState p_201783_1_,
IBlockReader worldIn,
BlockPos pos) |
void |
onBlockAdded(IBlockState state,
World worldIn,
BlockPos pos,
IBlockState oldState) |
void |
onEntityWalk(World worldIn,
BlockPos pos,
Entity entityIn) |
void |
randomTick(IBlockState state,
World worldIn,
BlockPos pos,
java.util.Random random) |
void |
tick(IBlockState state,
World worldIn,
BlockPos pos,
java.util.Random random) |
int |
tickRate(IWorldReaderBase worldIn) |
IBlockState |
updatePostPlacement(IBlockState stateIn,
EnumFacing facing,
IBlockState facingState,
IWorld worldIn,
BlockPos currentPos,
BlockPos facingPos) |
addInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canProvidePower, canSilkHarvest, canSilkHarvest, canSpawnInBlock, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillStateContainer, fillWithRain, getAmbientOcclusionLightValue, getBlockFaceShape, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getShape, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTickRandomly, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isFullCube, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isValidPosition, isVariableOpacity, makeCuboidShape, mirror, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onReplaced, propagatesSkylightDown, quantityDropped, registerBlocks, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic BlockMagma(Block.Properties builder)
public void onEntityWalk(World worldIn, BlockPos pos, Entity entityIn)
onEntityWalk in class Blockpublic int getPackedLightmapCoords(IBlockState state, IWorldReader source, BlockPos pos)
getPackedLightmapCoords in class Blockpublic void tick(IBlockState state, World worldIn, BlockPos pos, java.util.Random random)
public IBlockState updatePostPlacement(IBlockState stateIn, EnumFacing facing, IBlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos)
updatePostPlacement in class Blockpublic void randomTick(IBlockState state, World worldIn, BlockPos pos, java.util.Random random)
randomTick in class Blockpublic int tickRate(IWorldReaderBase worldIn)
public void onBlockAdded(IBlockState state, World worldIn, BlockPos pos, IBlockState oldState)
onBlockAdded in class Blockpublic boolean canEntitySpawn(IBlockState state, Entity entityIn)
canEntitySpawn in class Blockpublic boolean needsPostProcessing(IBlockState p_201783_1_, IBlockReader worldIn, BlockPos pos)
needsPostProcessing in class Block