public class UBlock extends net.minecraft.block.Block implements IUBlockRegistryType
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.item.BlockItem |
blockItem |
protected java.lang.String |
name |
| Constructor and Description |
|---|
UBlock(java.lang.String name,
net.minecraft.block.Block.Properties properties) |
UBlock(java.lang.String name,
net.minecraft.block.Block.Properties properties,
net.minecraft.item.Item.Properties blockItemProperties) |
UBlock(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.block.Block.Properties properties) |
UBlock(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.block.Block.Properties properties,
net.minecraft.item.Item.Properties blockItemProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.item.BlockItem |
createBlockItem(net.minecraft.item.Item.Properties blockItemProperties) |
net.minecraft.item.BlockItem |
getBlockItem()
Must return the same block item instance every time you call this method.
|
java.lang.String |
getEntryName()
Must return a unique name per
IForgeRegistryEntry |
addInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, cannotAttach, canProvidePower, canSpawnInBlock, canSustainPlant, causesSuffocation, doesSideFillSquare, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillStateContainer, fillWithRain, func_220055_a, func_220064_c, func_220074_n, func_220080_a, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getContainer, getDefaultState, getDrops, getDrops, getDrops, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getLightValue, getLootTable, getMaterial, getMaterialColor, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getPushReaction, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getShape, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getStrongPower, getTags, getTranslationKey, getValidBlockForPosition, getWeakPower, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasSolidSide, hasTileEntity, isAir, isDirt, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isValidPosition, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityCollision, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, onProjectileCollision, onReplaced, propagatesSkylightDown, randomTick, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAdditionalDrops, spawnAsEntity, spawnDrops, spawnDrops, spawnDrops, spawnDrops, tick, tickRate, ticksRandomly, toString, updateDiagonalNeighbors, updateNeighbors, updatePostPlacementgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canRenderInLayer, createTileEntity, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, 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, isReplaceableOreGen, isStickyBlock, isToolEffective, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerprotected final java.lang.String name
protected final net.minecraft.item.BlockItem blockItem
public UBlock(java.lang.String name,
net.minecraft.block.Block.Properties properties)
public UBlock(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.block.Block.Properties properties)
public UBlock(java.lang.String name,
net.minecraft.block.Block.Properties properties,
net.minecraft.item.Item.Properties blockItemProperties)
public UBlock(java.lang.String name,
net.minecraft.item.ItemGroup group,
net.minecraft.block.Block.Properties properties,
net.minecraft.item.Item.Properties blockItemProperties)
protected net.minecraft.item.BlockItem createBlockItem(net.minecraft.item.Item.Properties blockItemProperties)
public java.lang.String getEntryName()
IURegistryTypeIForgeRegistryEntrygetEntryName in interface IURegistryTypepublic net.minecraft.item.BlockItem getBlockItem()
IUBlockRegistryTypegetBlockItem in interface IUBlockRegistryType