Modifier and Type | Field and Description |
---|---|
private Block |
PlacedBlockTrigger.Instance.block |
private Block |
EnterBlockTrigger.Instance.block |
Constructor and Description |
---|
Instance(Block blockIn,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn) |
Instance(Block block,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn,
LocationPredicate locationIn,
ItemPredicate itemIn) |
Modifier and Type | Field and Description |
---|---|
private Block |
BlockEventData.blockType |
private Block |
BlockStem.crop |
private Block |
BlockStairs.modelBlock |
private Block |
BlockHugeMushroom.smallBlock |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Block,java.lang.Integer> |
BlockFire.encouragements |
private java.util.Map<Block,java.lang.Integer> |
BlockFire.flammabilities |
static RegistryNamespacedDefaultedByKey<ResourceLocation,Block> |
Block.REGISTRY |
Modifier and Type | Method and Description |
---|---|
protected Block |
Block.disableStats() |
Block |
BlockEventData.getBlock() |
static Block |
BlockShulkerBox.getBlockByColor(EnumDyeColor colorIn) |
static Block |
Block.getBlockById(int id) |
static Block |
Block.getBlockFromItem(Item itemIn) |
static Block |
Block.getBlockFromName(java.lang.String name) |
Block |
Block.setBlockUnbreakable() |
Block |
Block.setCreativeTab(CreativeTabs tab) |
Block |
Block.setHardness(float hardness) |
Block |
Block.setLightLevel(float value) |
Block |
Block.setLightOpacity(int opacity) |
Block |
Block.setResistance(float resistance) |
protected Block |
Block.setSoundType(SoundType sound) |
Block |
Block.setTickRandomly(boolean shouldTick) |
Block |
Block.setUnlocalizedName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static EnumDyeColor |
BlockShulkerBox.getColorFromBlock(Block blockIn) |
int |
BlockFire.getEncouragement(Block blockIn)
Deprecated.
|
int |
BlockFire.getFlammability(Block blockIn)
Deprecated.
|
protected static float |
BlockCrops.getGrowthChance(Block blockIn,
World worldIn,
BlockPos pos) |
static int |
Block.getIdFromBlock(Block blockIn) |
boolean |
BlockRedstoneTorch.isAssociatedBlock(Block other) |
boolean |
BlockRedstoneDiode.isAssociatedBlock(Block other) |
boolean |
Block.isAssociatedBlock(Block other) |
protected boolean |
BlockPortal.Size.isEmptyBlock(Block blockIn) |
static boolean |
Block.isEqualTo(Block blockIn,
Block other) |
protected static boolean |
BlockFence.isExcepBlockForAttachWithPiston(Block p_194142_0_) |
protected static boolean |
BlockPane.isExcepBlockForAttachWithPiston(Block p_193394_0_) |
protected static boolean |
BlockWall.isExcepBlockForAttachWithPiston(Block p_194143_0_) |
protected static boolean |
BlockVine.isExceptBlockForAttaching(Block p_193397_0_) |
protected static boolean |
Block.isExceptBlockForAttachWithPiston(Block attachBlock) |
protected static boolean |
Block.isExceptionBlockForAttaching(Block attachBlock) |
void |
BlockCommandBlock.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockChest.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockReed.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockRedstoneLight.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockTNT.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFarmland.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFire.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockDispenser.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockCake.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockDragonEgg.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockCactus.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBanner.BlockBannerHanging.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBanner.BlockBannerStanding.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockStaticLiquid.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockGrassPath.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFalling.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFenceGate.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockObserver.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockCarpet.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockNote.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockChorusFlower.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockPistonExtension.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockCocoa.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockHopper.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockConcretePowder.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockChorusPlant.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockRedstoneWire.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockLever.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFlowerPot.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockTripWireHook.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockPistonBase.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockRedstoneTorch.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockRailBase.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockLadder.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockWallSign.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockRedstoneDiode.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockDoor.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockLiquid.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBush.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockPortal.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockTorch.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
Block.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos)
Deprecated.
|
void |
BlockButton.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockSponge.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBeacon.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBasePressurePlate.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockStandingSign.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockVine.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockSnow.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockFrostedIce.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockBed.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockStructure.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockTrapDoor.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockPistonMoving.neighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
BlockObserver.observedNeighborChange(IBlockState observerState,
World world,
BlockPos observerPos,
Block changedBlock,
BlockPos changedBlockPos) |
void |
Block.observedNeighborChange(IBlockState observerState,
World world,
BlockPos observerPos,
Block changedBlock,
BlockPos changedBlockPos)
Called on an Observer block whenever an update for an Observer is received.
|
void |
BlockObserver.observedNeighborChanged(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
private static void |
Block.registerBlock(int id,
ResourceLocation textualID,
Block block_) |
private static void |
Block.registerBlock(int id,
java.lang.String textualID,
Block block_) |
void |
BlockFire.setFireInfo(Block blockIn,
int encouragement,
int flammability) |
protected void |
BlockRailBase.updateState(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn) |
protected void |
BlockRail.updateState(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn) |
protected void |
BlockRailPowered.updateState(IBlockState state,
World worldIn,
BlockPos pos,
Block blockIn) |
Constructor and Description |
---|
BlockEventData(BlockPos pos,
Block blockType,
int eventId,
int p_i45756_4_) |
BlockHugeMushroom(Material materialIn,
MapColor color,
Block smallBlockIn) |
BlockStem(Block crop) |
BlockWall(Block modelBlock) |
Modifier and Type | Field and Description |
---|---|
private Block |
BlockStateContainer.block |
private Block |
BlockStateContainer.StateImplementation.block |
private Block |
BlockStateContainer.Builder.block |
Modifier and Type | Method and Description |
---|---|
Block |
BlockStateContainer.getBlock() |
Block |
BlockStateContainer.StateImplementation.getBlock() |
Block |
IBlockState.getBlock() |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer.StateImplementation |
BlockStateContainer.createState(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
void |
BlockStateContainer.StateImplementation.neighborChanged(World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
IBlockBehaviors.neighborChanged(World worldIn,
BlockPos pos,
Block blockIn,
BlockPos fromPos) |
static <T extends java.lang.Comparable<T>> |
BlockStateContainer.validateProperty(Block block,
IProperty<T> property) |
Constructor and Description |
---|
BlockStateContainer(Block blockIn,
IProperty<?>... properties) |
BlockStateContainer(Block blockIn,
IProperty<?>[] properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
Builder(Block block) |
StateImplementation(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn) |
StateImplementation(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> propertyValueTable) |
Modifier and Type | Field and Description |
---|---|
private Block |
BlockMatcher.block |
Modifier and Type | Method and Description |
---|---|
static BlockMatcher |
BlockMatcher.forBlock(Block blockType) |
static BlockStateMatcher |
BlockStateMatcher.forBlock(Block blockIn) |
Constructor and Description |
---|
BlockMatcher(Block blockType) |
Modifier and Type | Method and Description |
---|---|
protected void |
RenderItem.registerBlock(Block blk,
int subType,
java.lang.String identifier) |
private void |
RenderItem.registerBlock(Block blk,
java.lang.String identifier) |
void |
BlockModelShapes.registerBlockWithStateMapper(Block assoc,
IStateMapper stateMapper) |
void |
BlockModelShapes.registerBuiltInBlocks(Block... builtIns) |
void |
ChestRenderer.renderChestBrightness(Block blockIn,
float color) |
Modifier and Type | Method and Description |
---|---|
protected void |
ModelBakery.loadBlock(BlockStateMapper blockstatemapper,
Block block,
ResourceLocation resourcelocation) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Block,IStateMapper> |
BlockStateMapper.blockStateMap |
private java.util.Set<Block> |
BlockStateMapper.setBuiltInBlocks |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ResourceLocation> |
BlockStateMapper.getBlockstateLocations(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
BlockStateMapper.getVariants(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
IStateMapper.putStateModelLocations(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
StateMapperBase.putStateModelLocations(Block blockIn) |
void |
BlockStateMapper.registerBlockStateMapper(Block blockIn,
IStateMapper stateMapper) |
void |
BlockStateMapper.registerBuiltInBlocks(Block... blockIn) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IRegistryDelegate<Block>,IBlockColor> |
BlockColors.blockColorMap |
Modifier and Type | Method and Description |
---|---|
void |
BlockColors.registerBlockColorHandler(IBlockColor blockColor,
Block... blocksIn) |
void |
ItemColors.registerItemColorHandler(IItemColor itemColor,
Block... blocksIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<Block> |
PunchTreeStep.LOG_BLOCKS |
private static java.util.Set<Block> |
FindTreeStep.TREE_BLOCKS |
Modifier and Type | Method and Description |
---|---|
static Block |
CommandBase.getBlockByText(ICommandSender sender,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
static IBlockState |
CommandBase.convertArgToBlockState(Block p_190794_0_,
java.lang.String p_190794_1_) |
static com.google.common.base.Predicate<IBlockState> |
CommandBase.convertArgToBlockStatePredicate(Block p_190791_0_,
java.lang.String p_190791_1_) |
private static java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
CommandBase.getBlockStatePropertyValueMap(Block p_190795_0_,
java.lang.String p_190795_1_) |
Modifier and Type | Method and Description |
---|---|
static void |
CrashReportCategory.addBlockInfo(CrashReportCategory category,
BlockPos pos,
Block blockIn,
int blockData) |
Modifier and Type | Method and Description |
---|---|
boolean |
Entity.canTrample(World world,
Block block,
BlockPos pos,
float fallDistance)
|
protected void |
Entity.playStepSound(BlockPos pos,
Block blockIn) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EntityWither.canDestroyBlock(Block blockIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<Block> |
EntityEnderman.CARRIABLE_BLOCKS |
Modifier and Type | Method and Description |
---|---|
private boolean |
EntityEnderman.AIPlaceBlock.canPlaceBlock(World p_188518_1_,
BlockPos p_188518_2_,
Block p_188518_3_,
IBlockState p_188518_4_,
IBlockState p_188518_5_) |
static boolean |
EntityEnderman.getCarriable(Block block) |
protected void |
EntitySpider.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityZombie.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityPolarBear.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
AbstractSkeleton.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityIronGolem.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntitySilverfish.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityEndermite.playStepSound(BlockPos pos,
Block blockIn) |
static void |
EntityEnderman.setCarriable(Block block,
boolean canCarry) |
Modifier and Type | Field and Description |
---|---|
protected Block |
EntityAnimal.spawnableBlock |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractHorse.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityPig.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityChicken.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityCow.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityLlama.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityWolf.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntitySheep.playStepSound(BlockPos pos,
Block blockIn) |
protected void |
EntityParrot.playStepSound(BlockPos pos,
Block blockIn) |
Modifier and Type | Field and Description |
---|---|
private Block |
EntityArrow.inTile |
private Block |
EntityThrowable.inTile |
Modifier and Type | Field and Description |
---|---|
private static java.util.Set<Block> |
Blocks.CACHE |
Modifier and Type | Method and Description |
---|---|
private static Block |
Blocks.getRegisteredBlock(java.lang.String blockName) |
Modifier and Type | Field and Description |
---|---|
protected Block |
ItemBlock.block |
private Block |
ItemDoor.block |
private Block |
ItemAir.block |
private Block |
ItemBlockSpecial.block |
private Block |
ItemStack.canDestroyCacheBlock |
private Block |
ItemStack.canPlaceOnCacheBlock |
private Block |
ItemBucket.containedBlock |
private Block |
ItemSeedFood.crops |
private Block |
ItemSeeds.crops |
private Block |
ItemSeeds.soilBlockID |
private Block |
ItemSeedFood.soilId |
protected Block |
ItemMultiTexture.unused |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<Block,Item> |
Item.BLOCK_TO_ITEM |
private static java.util.Set<Block> |
ItemSpade.EFFECTIVE_ON |
private static java.util.Set<Block> |
ItemAxe.EFFECTIVE_ON |
private static java.util.Set<Block> |
ItemPickaxe.EFFECTIVE_ON |
private java.util.Set<Block> |
ItemTool.effectiveBlocks |
Modifier and Type | Method and Description |
---|---|
Block |
ItemBlock.getBlock() |
Block |
ItemBlockSpecial.getBlock() |
private Block |
ItemBlock.getBlockRaw() |
private Block |
ItemBlockSpecial.getBlockRaw() |
Modifier and Type | Method and Description |
---|---|
boolean |
ItemStack.canDestroy(Block blockIn) |
boolean |
ItemStack.canPlaceOn(Block blockIn) |
static Item |
Item.getItemFromBlock(Block blockIn) |
static void |
ItemDoor.placeDoor(World worldIn,
BlockPos pos,
EnumFacing facing,
Block door,
boolean isRightHinge) |
private static void |
Item.registerItemBlock(Block blockIn) |
protected static void |
Item.registerItemBlock(Block blockIn,
Item itemIn) |
Constructor and Description |
---|
ItemAir(Block blockIn) |
ItemAnvilBlock(Block block) |
ItemBlock(Block block) |
ItemBlockSpecial(Block block) |
ItemBucket(Block containedBlockIn) |
ItemCloth(Block block) |
ItemColored(Block block,
boolean hasSubtypes) |
ItemDoor(Block block) |
ItemLilyPad(Block block) |
ItemMultiTexture(Block p_i47262_1_,
Block p_i47262_2_,
ItemMultiTexture.Mapper p_i47262_3_) |
ItemMultiTexture(Block block,
Block block2,
java.lang.String[] namesByMeta) |
ItemPiston(Block block) |
ItemSeedFood(int healAmount,
float saturation,
Block crops,
Block soil) |
ItemSeeds(Block crops,
Block soil) |
ItemShulkerBox(Block blockInstance) |
ItemSlab(Block block,
BlockSlab singleSlab,
BlockSlab doubleSlab) |
ItemSnow(Block block) |
ItemStack(Block blockIn) |
ItemStack(Block blockIn,
int amount) |
ItemStack(Block blockIn,
int amount,
int meta) |
Constructor and Description |
---|
ItemTool(float attackDamageIn,
float attackSpeedIn,
Item.ToolMaterial materialIn,
java.util.Set<Block> effectiveBlocksIn) |
ItemTool(Item.ToolMaterial materialIn,
java.util.Set<Block> effectiveBlocksIn) |
Modifier and Type | Method and Description |
---|---|
void |
FurnaceRecipes.addSmeltingRecipeForBlock(Block input,
ItemStack stack,
float experience) |
Modifier and Type | Field and Description |
---|---|
private Block |
SPacketBlockAction.block |
Modifier and Type | Method and Description |
---|---|
Block |
SPacketBlockAction.getBlockType() |
Constructor and Description |
---|
SPacketBlockAction(BlockPos pos,
Block blockIn,
int instrumentIn,
int pitchIn) |
Modifier and Type | Method and Description |
---|---|
static StatBase |
StatList.getBlockStats(Block blockIn) |
private static void |
StatList.mergeStatBases(StatBase[] statBaseIn,
Block block1,
Block block2,
boolean useItemIds) |
Modifier and Type | Field and Description |
---|---|
protected Block |
TileEntity.blockType |
Modifier and Type | Method and Description |
---|---|
Block |
TileEntity.getBlockType() |
Modifier and Type | Field and Description |
---|---|
private Block |
NextTickListEntry.block |
Modifier and Type | Method and Description |
---|---|
Block |
NextTickListEntry.getBlock() |
Modifier and Type | Method and Description |
---|---|
void |
World.addBlockEvent(BlockPos pos,
Block blockIn,
int eventID,
int eventParam) |
void |
WorldServer.addBlockEvent(BlockPos pos,
Block blockIn,
int eventID,
int eventParam) |
boolean |
World.isBlockTickPending(BlockPos pos,
Block blockType) |
boolean |
WorldServer.isBlockTickPending(BlockPos pos,
Block blockType) |
boolean |
World.isUpdateScheduled(BlockPos pos,
Block blk) |
boolean |
WorldServer.isUpdateScheduled(BlockPos pos,
Block blk) |
boolean |
World.mayPlace(Block blockIn,
BlockPos pos,
boolean skipCollisionCheck,
EnumFacing sidePlacedOn,
Entity placer) |
void |
World.neighborChanged(BlockPos pos,
Block blockIn,
BlockPos fromPos) |
void |
World.notifyNeighborsOfStateChange(BlockPos pos,
Block blockType,
boolean updateObservers) |
void |
World.notifyNeighborsOfStateExcept(BlockPos pos,
Block blockType,
EnumFacing skipSide) |
void |
World.notifyNeighborsRespectDebug(BlockPos pos,
Block blockType,
boolean p_175722_3_) |
void |
World.observedNeighborChanged(BlockPos pos,
Block p_190529_2_,
BlockPos p_190529_3_) |
void |
World.scheduleBlockUpdate(BlockPos pos,
Block blockIn,
int delay,
int priority) |
void |
WorldServer.scheduleBlockUpdate(BlockPos pos,
Block blockIn,
int delay,
int priority) |
void |
World.scheduleUpdate(BlockPos pos,
Block blockIn,
int delay) |
void |
WorldServer.scheduleUpdate(BlockPos pos,
Block blockIn,
int delay) |
void |
World.updateBlockTick(BlockPos pos,
Block blockIn,
int delay,
int priority) |
void |
WorldServer.updateBlockTick(BlockPos pos,
Block blockIn,
int delay,
int priority) |
void |
World.updateComparatorOutputLevel(BlockPos pos,
Block blockIn) |
void |
World.updateObservingBlocksAt(BlockPos pos,
Block blockType) |
Constructor and Description |
---|
NextTickListEntry(BlockPos positionIn,
Block blockIn) |
Modifier and Type | Method and Description |
---|---|
private Block |
FlatLayerInfo.getLayerMaterialBlock() |
Constructor and Description |
---|
FlatLayerInfo(int p_i45467_1_,
Block layerMaterialIn) |
FlatLayerInfo(int p_i45627_1_,
int height,
Block layerMaterialIn) |
FlatLayerInfo(int p_i45628_1_,
int p_i45628_2_,
Block layerMaterialIn,
int p_i45628_4_) |
Modifier and Type | Field and Description |
---|---|
private Block |
WorldGenBlockBlob.block |
private Block |
WorldGenHellLava.block |
private Block |
WorldGenIcePath.block |
private Block |
WorldGenClay.block |
private Block |
WorldGenSand.block |
private Block |
WorldGenLakes.block |
private Block |
WorldGenLiquids.block |
private Block |
WorldGenBigMushroom.mushroomType |
Modifier and Type | Method and Description |
---|---|
protected boolean |
WorldGenAbstractTree.canGrowInto(Block blockType) |
(package private) void |
WorldGenBigTree.limb(BlockPos p_175937_1_,
BlockPos p_175937_2_,
Block p_175937_3_) |
Constructor and Description |
---|
WorldGenBigMushroom(Block p_i46449_1_) |
WorldGenBlockBlob(Block blockIn,
int startRadiusIn) |
WorldGenHellLava(Block blockIn,
boolean insideRockIn) |
WorldGenLakes(Block blockIn) |
WorldGenLiquids(Block blockIn) |
WorldGenSand(Block p_i45462_1_,
int p_i45462_2_) |
Modifier and Type | Field and Description |
---|---|
private Block |
StructureVillagePieces.Field1.cropTypeA |
private Block |
StructureVillagePieces.Field2.cropTypeA |
private Block |
StructureVillagePieces.Field1.cropTypeB |
private Block |
StructureVillagePieces.Field2.cropTypeB |
private Block |
StructureVillagePieces.Field1.cropTypeC |
private Block |
StructureVillagePieces.Field1.cropTypeD |
Modifier and Type | Method and Description |
---|---|
private Block |
StructureVillagePieces.Field1.getRandomCropType(java.util.Random rand) |
private Block |
StructureVillagePieces.Field2.getRandomCropType(java.util.Random rand) |
Modifier and Type | Field and Description |
---|---|
private Block |
PlacementSettings.replacedBlock |
Modifier and Type | Method and Description |
---|---|
Block |
PlacementSettings.getReplacedBlock() |
Modifier and Type | Method and Description |
---|---|
PlacementSettings |
PlacementSettings.setReplacedBlock(Block replacedBlockIn) |
void |
Template.takeBlocksFromWorld(World worldIn,
BlockPos startPos,
BlockPos endPos,
boolean takeEntities,
Block toIgnore) |
Constructor and Description |
---|
RenderBlockOverlayEvent(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
Block block,
int x,
int y,
int z)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IRegistryDelegate<Block>,IStateMapper> |
ModelLoader.customStateMappers |
Modifier and Type | Method and Description |
---|---|
static void |
ModelLoader.setCustomStateMapper(Block block,
IStateMapper mapper)
Adds a custom IBlockState -> model variant logic.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.canHarvestBlock(Block block,
EntityPlayer player,
IBlockAccess world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer.StateImplementation |
ExtendedBlockState.createState(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
Constructor and Description |
---|
ExtendedBlockState(Block blockIn,
IProperty<?>[] properties,
IUnlistedProperty<?>[] unlistedProperties) |
ExtendedStateImplementation(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> table,
IBlockState clean) |
Modifier and Type | Class and Description |
---|---|
class |
BlockFluidBase
This is a base implementation for Fluid blocks.
|
class |
BlockFluidClassic
This is a fluid block implementation which emulates vanilla Minecraft fluid behavior.
|
class |
BlockFluidFinite
This is a cellular-automata based finite fluid block implementation.
|
Modifier and Type | Field and Description |
---|---|
protected Block |
Fluid.block
If there is a Block implementation of the Fluid, the Block is linked here.
|
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<Block,java.lang.Boolean> |
BlockFluidBase.defaultDisplacements |
protected java.util.Map<Block,java.lang.Boolean> |
BlockFluidBase.displacements |
(package private) static com.google.common.collect.BiMap<Block,Fluid> |
FluidRegistry.fluidBlocks |
Modifier and Type | Method and Description |
---|---|
Block |
Fluid.getBlock() |
Modifier and Type | Method and Description |
---|---|
static Fluid |
FluidRegistry.lookupFluidForBlock(Block block) |
void |
BlockFluidBase.neighborChanged(IBlockState state,
World world,
BlockPos pos,
Block neighborBlock,
BlockPos neighbourPos) |
Fluid |
Fluid.setBlock(Block block) |
Modifier and Type | Field and Description |
---|---|
protected Block |
BlockWrapper.block |
Constructor and Description |
---|
BlockWrapper(Block block,
World world,
BlockPos blockPos) |
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Block> |
ForgeRegistries.BLOCKS |
Modifier and Type | Method and Description |
---|---|
static void |
GameRegistry.addSmelting(Block input,
ItemStack output,
float xp) |
Modifier and Type | Method and Description |
---|---|
static void |
OreDictionary.registerOre(java.lang.String name,
Block ore) |
Constructor and Description |
---|
ShapedOreRecipe(ResourceLocation group,
Block result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
Block result,
java.lang.Object... recipe) |
Modifier and Type | Class and Description |
---|---|
private static class |
GameData.BlockCallbacks.BlockDummyAir |
Modifier and Type | Method and Description |
---|---|
Block |
GameData.BlockCallbacks.createDummy(ResourceLocation key) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.BiMap<Block,Item> |
GameData.getBlockItemMap() |
Modifier and Type | Method and Description |
---|---|
void |
GameData.BlockCallbacks.onAdd(IForgeRegistryInternal<Block> owner,
RegistryManager stage,
int id,
Block block,
Block oldBlock) |
Modifier and Type | Method and Description |
---|---|
void |
GameData.BlockCallbacks.onAdd(IForgeRegistryInternal<Block> owner,
RegistryManager stage,
int id,
Block block,
Block oldBlock) |
void |
GameData.BlockCallbacks.onClear(IForgeRegistryInternal<Block> owner,
RegistryManager stage) |
void |
GameData.BlockCallbacks.onCreate(IForgeRegistryInternal<Block> owner,
RegistryManager stage) |