Uses of Class
net.minecraft.block.Block
-
Uses of Block in net.minecraft.advancement.criterion
Fields in net.minecraft.advancement.criterion declared as Block Modifier and Type Field Description private @Nullable Block
BeeNestDestroyedCriterion.Conditions. block
private Block
EnterBlockCriterion.Conditions. block
private Block
PlacedBlockCriterion.Conditions. block
private Block
SlideDownBlockCriterion.Conditions. block
Methods in net.minecraft.advancement.criterion that return Block Modifier and Type Method Description private static @Nullable Block
BeeNestDestroyedCriterion. getBlock(JsonObject root)
private static @Nullable Block
EnterBlockCriterion. getBlock(JsonObject obj)
private static @Nullable Block
PlacedBlockCriterion. getBlock(JsonObject obj)
private static @Nullable Block
SlideDownBlockCriterion. getBlock(JsonObject root)
Methods in net.minecraft.advancement.criterion with parameters of type Block Modifier and Type Method Description static EnterBlockCriterion.Conditions
EnterBlockCriterion.Conditions. block(Block block)
static PlacedBlockCriterion.Conditions
PlacedBlockCriterion.Conditions. block(Block block)
static BeeNestDestroyedCriterion.Conditions
BeeNestDestroyedCriterion.Conditions. create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange)
static SlideDownBlockCriterion.Conditions
SlideDownBlockCriterion.Conditions. create(Block block)
Constructors in net.minecraft.advancement.criterion with parameters of type Block Constructor Description Conditions(EntityPredicate.Extended player, @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount)
Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state)
Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state, LocationPredicate location, ItemPredicate item)
Conditions(EntityPredicate.Extended player, @Nullable Block block, StatePredicate state)
-
Uses of Block in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Block Modifier and Type Field Description private Object2IntMap<Block>
FireBlock. burnChances
private static Map<Block,CandleCakeBlock>
CandleCakeBlock. CANDLES_TO_CANDLE_CAKES
private static Map<DyeColor,Block>
BannerBlock. COLORED_BANNERS
private static Map<Block,Block>
FlowerPotBlock. CONTENT_TO_POTTED
private static Map<Block,Block>
FlowerPotBlock. CONTENT_TO_POTTED
static Supplier<BiMap<Block,Block>>
Oxidizable. OXIDATION_LEVEL_DECREASES
static Supplier<BiMap<Block,Block>>
Oxidizable. OXIDATION_LEVEL_DECREASES
static Supplier<BiMap<Block,Block>>
Oxidizable. OXIDATION_LEVEL_INCREASES
static Supplier<BiMap<Block,Block>>
Oxidizable. OXIDATION_LEVEL_INCREASES
private static Map<Block,Block>
InfestedBlock. REGULAR_TO_INFESTED
private static Map<Block,Block>
InfestedBlock. REGULAR_TO_INFESTED
private Object2IntMap<Block>
FireBlock. spreadChances
protected StateManager<Block,BlockState>
Block. stateManager
Methods in net.minecraft.block that return Block Modifier and Type Method Description protected abstract Block
AbstractBlock. asBlock()
protected Block
Block. asBlock()
private static Block
Blocks. createNetherStemBlock(MapColor materialColor)
static Block
ShulkerBoxBlock. get(@Nullable DyeColor dyeColor)
Block
AbstractBlock.AbstractBlockState. getBlock()
static Block
Block. getBlockFromItem(@Nullable Item item)
Block
FlowerPotBlock. getContent()
static Block
BannerBlock. getForColor(DyeColor color)
protected Block
AbstractPlantBlock. getPlant()
protected abstract Block
AbstractPlantPartBlock. getPlant()
protected Block
CaveVinesHeadBlock. getPlant()
protected Block
KelpBlock. getPlant()
protected Block
TwistingVinesBlock. getPlant()
protected Block
WeepingVinesBlock. getPlant()
Block
InfestedBlock. getRegularBlock()
static Block
Oxidizable. getUnaffectedOxidationBlock(Block block)
private static Block
Blocks. register(String id, Block block)
Methods in net.minecraft.block that return types with arguments of type Block Modifier and Type Method Description static Optional<Block>
Oxidizable. getDecreasedOxidationBlock(Block block)
static Optional<Block>
Oxidizable. getIncreasedOxidationBlock(Block block)
StateManager<Block,BlockState>
Block. getStateManager()
Methods in net.minecraft.block with parameters of type Block Modifier and Type Method Description AbstractBlock.Settings
AbstractBlock.Settings. dropsLike(Block source)
Specifies that a block should drop the same items as a provided block.static BlockState
InfestedBlock. fromRegularBlock(Block regularBlock)
protected static float
CropBlock. getAvailableMoisture(Block block, BlockView world, BlockPos pos)
static BlockState
CandleCakeBlock. getCandleCakeFromCandle(Block candle)
static @Nullable DyeColor
ShulkerBoxBlock. getColor(Block block)
static Optional<Block>
Oxidizable. getDecreasedOxidationBlock(Block block)
static Optional<Block>
Oxidizable. getIncreasedOxidationBlock(Block block)
private Optional<BlockPos>
AbstractPlantBlock. getStemHeadPos(BlockView world, BlockPos pos, Block block)
static Block
Oxidizable. getUnaffectedOxidationBlock(Block block)
boolean
AbstractBlock.AbstractBlockState. isOf(Block block)
void
AbstractBlock.AbstractBlockState. neighborUpdate(World world, BlockPos pos, Block block, BlockPos posFrom, boolean notify)
void
AbstractBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
Deprecated.void
AbstractRailBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
AbstractRedstoneGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
BellBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
BigDripleafBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
CommandBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
DispenserBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
DoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FenceGateBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FluidBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
FrostedIceBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
HopperBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
NoteBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
PistonBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
PistonHeadBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneLampBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneTorchBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
RedstoneWireBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
SpongeBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
StructureBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
TntBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
void
TrapdoorBlock. neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
private static Block
Blocks. register(String id, Block block)
private void
FireBlock. registerFlammableBlock(Block block, int burnChance, int spreadChance)
protected void
AbstractRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
protected void
PoweredRailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
protected void
RailBlock. updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
Constructors in net.minecraft.block with parameters of type Block Constructor Description AbstractBlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)
BlockState(Block block, ImmutableMap<Property<?>,Comparable<?>> propertyMap, com.mojang.serialization.MapCodec<BlockState> codec)
CandleCakeBlock(Block candle, AbstractBlock.Settings settings)
ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)
CoralBlock(Block deadCoralBlock, AbstractBlock.Settings settings)
CoralBlockBlock(Block deadCoralBlock, AbstractBlock.Settings settings)
CoralFanBlock(Block deadCoralBlock, AbstractBlock.Settings settings)
CoralWallFanBlock(Block deadCoralBlock, AbstractBlock.Settings settings)
FlowerPotBlock(Block content, AbstractBlock.Settings settings)
InfestedBlock(Block regularBlock, AbstractBlock.Settings settings)
Creates an infested block -
Uses of Block in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as Block Modifier and Type Field Description private static Block[]
ConduitBlockEntity. ACTIVATING_BLOCKS
Fields in net.minecraft.block.entity with type parameters of type Block Modifier and Type Field Description private Set<Block>
BlockEntityType. blocks
private Set<Block>
BlockEntityType.Builder. blocks
Methods in net.minecraft.block.entity with parameters of type Block Modifier and Type Method Description static <T extends BlockEntity>
BlockEntityType.Builder<T>BlockEntityType.Builder. create(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks)
Constructor parameters in net.minecraft.block.entity with type arguments of type Block Constructor Description BlockEntityType(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type)
Builder(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks)
-
Uses of Block in net.minecraft.client.color.block
Fields in net.minecraft.client.color.block with type parameters of type Block Modifier and Type Field Description private Map<Block,Set<Property<?>>>
BlockColors. properties
Methods in net.minecraft.client.color.block with parameters of type Block Modifier and Type Method Description Set<Property<?>>
BlockColors. getProperties(Block block)
private void
BlockColors. registerColorProperties(Set<Property<?>> properties, Block[] blocks)
private void
BlockColors. registerColorProperty(Property<?> property, Block[] blocks)
void
BlockColors. registerColorProvider(BlockColorProvider provider, Block[] blocks)
-
Uses of Block in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen with type parameters of type Block Modifier and Type Field Description protected List<StatType<Block>>
StatsScreen.ItemStatsListWidget. blockStatTypes
-
Uses of Block in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type Block Modifier and Type Field Description private static Map<Block,RenderLayer>
RenderLayers. BLOCKS
-
Uses of Block in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type Block Modifier and Type Method Description static SignType
SignBlockEntityRenderer. getSignType(Block block)
-
Uses of Block in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model with type parameters of type Block Modifier and Type Field Description private static StateManager<Block,BlockState>
ModelLoader. ITEM_FRAME_STATE_FACTORY
private StateManager<Block,BlockState>
MultipartUnbakedModel. stateFactory
private static Map<Identifier,StateManager<Block,BlockState>>
ModelLoader. STATIC_DEFINITIONS
Method parameters in net.minecraft.client.render.model with type arguments of type Block Modifier and Type Method Description private static Predicate<BlockState>
ModelLoader. stateKeyToPredicate(StateManager<Block,BlockState> stateFactory, String key)
Constructor parameters in net.minecraft.client.render.model with type arguments of type Block Constructor Description MultipartUnbakedModel(StateManager<Block,BlockState> stateFactory, List<MultipartModelComponent> components)
-
Uses of Block in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json with type parameters of type Block Modifier and Type Field Description private StateManager<Block,BlockState>
ModelVariantMap.DeserializationContext. stateFactory
Methods in net.minecraft.client.render.model.json that return types with arguments of type Block Modifier and Type Method Description StateManager<Block,BlockState>
ModelVariantMap.DeserializationContext. getStateFactory()
Method parameters in net.minecraft.client.render.model.json with type arguments of type Block Modifier and Type Method Description private Predicate<BlockState>
SimpleMultipartModelSelector. createPredicate(StateManager<Block,BlockState> stateFactory, Property<?> property, String valueString)
Predicate<BlockState>
AndMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)
Predicate<BlockState>
MultipartModelComponent. getPredicate(StateManager<Block,BlockState> stateFactory)
Predicate<BlockState>
MultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)
Predicate<BlockState>
OrMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)
Predicate<BlockState>
SimpleMultipartModelSelector. getPredicate(StateManager<Block,BlockState> stateFactory)
void
ModelVariantMap.DeserializationContext. setStateFactory(StateManager<Block,BlockState> stateFactory)
-
Uses of Block in net.minecraft.client.tutorial
Fields in net.minecraft.client.tutorial with type parameters of type Block Modifier and Type Field Description private static Set<Block>
FindTreeTutorialStepHandler. TREE_BLOCKS
-
Uses of Block in net.minecraft.client.world
Fields in net.minecraft.client.world declared as Block Modifier and Type Field Description private Block
ClientWorld.BlockParticle. block
Methods in net.minecraft.client.world that return types with arguments of type Block Modifier and Type Method Description TickScheduler<Block>
ClientWorld. getBlockTickScheduler()
Constructors in net.minecraft.client.world with parameters of type Block Constructor Description BlockParticle(Block block, ParticleEffect particle)
-
Uses of Block in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type Block Modifier and Type Field Description private StateManager<Block,BlockState>
BlockArgumentParser. stateFactory
private static BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Block>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
BlockArgumentParser. SUGGEST_DEFAULT
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Block>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
BlockArgumentParser. suggestions
private Tag<Block>
BlockPredicateArgumentType.TagPredicate. tag
Method parameters in net.minecraft.command.argument with type arguments of type Block Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private boolean
BlockArgumentParser. hasBlockEntity(TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestBlockOrTagId(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestBlockPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestCommaOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestEqualsCharacter(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestIdentifiers(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestSnbt(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestSnbtOrBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestSnbtOrTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestTagPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
BlockArgumentParser. suggestTagPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Block> tagGroup, String string)
Constructor parameters in net.minecraft.command.argument with type arguments of type Block Constructor Description TagPredicate(Tag<Block> tag, Map<String,String> map, @Nullable NbtCompound nbt)
-
Uses of Block in net.minecraft.data.client
Methods in net.minecraft.data.client with parameters of type Block Modifier and Type Method Description private static Path
BlockStateDefinitionProvider. getBlockStateJsonPath(Path root, Block block)
-
Uses of Block in net.minecraft.data.client.model
Fields in net.minecraft.data.client.model declared as Block Modifier and Type Field Description private Block
MultipartBlockStateSupplier. block
private Block
VariantsBlockStateSupplier. block
Fields in net.minecraft.data.client.model with type parameters of type Block Modifier and Type Field Description private List<Block>
BlockStateModelGenerator. nonOrientableTrapdoors
private Map<Block,TexturedModel>
BlockStateModelGenerator. sandstoneModels
private Map<Block,BlockStateModelGenerator.StateFactory>
BlockStateModelGenerator. stoneStateFactories
private static Map<BlockFamily.Variant,BiConsumer<BlockStateModelGenerator.BlockTexturePool,Block>>
BlockStateModelGenerator. VARIANT_POOL_FUNCTIONS
Methods in net.minecraft.data.client.model that return Block Modifier and Type Method Description Block
BlockStateSupplier. getBlock()
Block
MultipartBlockStateSupplier. getBlock()
Block
VariantsBlockStateSupplier. getBlock()
Methods in net.minecraft.data.client.model with parameters of type Block Modifier and Type Method Description static Texture
Texture. all(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. base(Block block, Model model)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. button(Block buttonBlock)
static Texture
Texture. campfire(Block block)
BlockStateSupplier
BlockStateModelGenerator.StateFactory. create(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
static MultipartBlockStateSupplier
MultipartBlockStateSupplier. create(Block block)
static VariantsBlockStateSupplier
VariantsBlockStateSupplier. create(Block block)
static VariantsBlockStateSupplier
VariantsBlockStateSupplier. create(Block block, BlockStateVariant variant)
static VariantsBlockStateSupplier
VariantsBlockStateSupplier. create(Block block, BlockStateVariant[] variants)
private static BlockStateSupplier
BlockStateModelGenerator. createAxisRotatedBlockState(Block block, Identifier modelId)
private static BlockStateSupplier
BlockStateModelGenerator. createAxisRotatedBlockState(Block block, Identifier verticalModelId, Identifier horizontalModelId)
private static VariantsBlockStateSupplier
BlockStateModelGenerator. createBlockStateWithRandomHorizontalRotations(Block block, Identifier modelId)
private static VariantsBlockStateSupplier
BlockStateModelGenerator. createBlockStateWithTwoModelAndRandomInversion(Block block, Identifier firstModelId, Identifier secondModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createButtonBlockState(Block buttonBlock, Identifier regularModelId, Identifier pressedModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createDeepslateState(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
private static BlockStateSupplier
BlockStateModelGenerator. createDoorBlockState(Block doorBlock, Identifier bottomModelId, Identifier bottomHingeModelId, Identifier topModelId, Identifier topHingeModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createFenceBlockState(Block fenceBlock, Identifier postModelId, Identifier sideModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createFenceGateBlockState(Block fenceGateBlock, Identifier openModelId, Identifier closedModelId, Identifier openWallModelId, Identifier closedWallModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createOrientableTrapdoorBlockState(Block trapdoorBlock, Identifier topModelId, Identifier bottomModelId, Identifier openModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createPressurePlateBlockState(Block pressurePlateBlock, Identifier upModelId, Identifier downModelId)
private static VariantsBlockStateSupplier
BlockStateModelGenerator. createSingletonBlockState(Block block, Identifier modelId)
private static BlockStateSupplier
BlockStateModelGenerator. createSlabBlockState(Block slabBlock, Identifier bottomModelId, Identifier topModelId, Identifier fullModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createStairsBlockState(Block stairsBlock, Identifier innerModelId, Identifier regularModelId, Identifier outerModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createStoneState(Block block, Identifier modelId, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
private Identifier
BlockStateModelGenerator. createSubModel(Block block, String suffix, Model model, Function<Identifier,Texture> textureFactory)
private static BlockStateSupplier
BlockStateModelGenerator. createTrapdoorBlockState(Block trapdoorBlock, Identifier topModelId, Identifier bottomModelId, Identifier openModelId)
private static BlockStateSupplier
BlockStateModelGenerator. createWallBlockState(Block wallBlock, Identifier postModelId, Identifier lowSideModelId, Identifier tallSideModelId)
static Texture
Texture. cross(Block block)
private BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. door(Block block)
private Identifier
BlockStateModelGenerator.BlockTexturePool. ensureModel(Model model, Block block)
private void
BlockStateModelGenerator. excludeFromSimpleItemModelGeneration(Block block)
static Texture
Texture. fan(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. fence(Block fenceBlock)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. fenceGate(Block fenceGateBlock)
static Texture
Texture. fire0(Block block)
static Texture
Texture. fire1(Block block)
static Texture
Texture. frontSideWithCustomBottom(Block block, Block bottom)
static Texture
Texture. frontTopSide(Block frontTopSideBlock, Block downBlock)
TexturedModel
TexturedModel.Factory. get(Block block)
static Identifier
ModelIds. getBlockModelId(Block block)
static Identifier
ModelIds. getBlockSubModelId(Block block, String suffix)
private List<Identifier>
BlockStateModelGenerator. getFireFloorModels(Block texture)
private List<Identifier>
BlockStateModelGenerator. getFireSideModels(Block texture)
private List<Identifier>
BlockStateModelGenerator. getFireUpModels(Block texture)
static Identifier
Texture. getId(Block block)
static Identifier
Texture. getSubId(Block block, String suffix)
BlockStateModelGenerator.BuiltinModelPool
BlockStateModelGenerator.BuiltinModelPool. includeWithItem(Block[] blocks)
BlockStateModelGenerator.BuiltinModelPool
BlockStateModelGenerator.BuiltinModelPool. includeWithItem(Model model, Block[] blocks)
BlockStateModelGenerator.BuiltinModelPool
BlockStateModelGenerator.BuiltinModelPool. includeWithoutItem(Block[] blocks)
static Texture
Texture. lantern(Block block)
static Texture
Texture. layer0(Block block)
BlockStateModelGenerator.LogTexturePool
BlockStateModelGenerator.LogTexturePool. log(Block logBlock)
static Texture
Texture. method_32231(Block block)
private void
BlockStateModelGenerator. method_35868(Block block, Texture texture, Model model)
static Texture
Texture. paneAndTopForEdge(Block block, Block top)
static Texture
Texture. particle(Block block)
static Texture
Texture. pattern(Block block)
static Texture
Texture. plant(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. pressurePlate(Block pressurePlateBlock)
static Texture
Texture. rail(Block block)
private void
BlockStateModelGenerator. registerAmethyst(Block block)
private void
BlockStateModelGenerator. registerAnvil(Block anvil)
private void
BlockStateModelGenerator. registerAxisRotated(Block block, TexturedModel.Factory modelFactory)
private void
BlockStateModelGenerator. registerAxisRotated(Block block, TexturedModel.Factory verticalModelFactory, TexturedModel.Factory horizontalModelFactory)
private void
BlockStateModelGenerator. registerAxisRotated(Block block, Identifier modelId)
private void
BlockStateModelGenerator. registerAzalea(Block block)
private void
BlockStateModelGenerator. registerBed(Block bed, Block particleSource)
private void
BlockStateModelGenerator. registerBeehive(Block beehive, Function<Block,Texture> textureGetter)
private BlockStateModelGenerator.BuiltinModelPool
BlockStateModelGenerator. registerBuiltin(Block block, Block particleBlock)
private BlockStateModelGenerator.BuiltinModelPool
BlockStateModelGenerator. registerBuiltin(Identifier modelId, Block particleBlock)
private void
BlockStateModelGenerator. registerBuiltinWithParticle(Block block, Item particleSource)
private void
BlockStateModelGenerator. registerBuiltinWithParticle(Block block, Identifier particleSource)
private void
BlockStateModelGenerator. registerCampfire(Block[] blocks)
private void
BlockStateModelGenerator. registerCandle(Block candle, Block cake)
private void
BlockStateModelGenerator. registerCarpet(Block wool, Block carpet)
private void
BlockStateModelGenerator. registerCommandBlock(Block commandBlock)
private void
BlockStateModelGenerator. registerCooker(Block cooker, TexturedModel.Factory modelFactory)
private void
BlockStateModelGenerator. registerCoral(Block coral, Block deadCoral, Block coralBlock, Block deadCoralBlock, Block coralFan, Block deadCoralFan, Block coralWallFan, Block deadCoralWallFan)
private void
BlockStateModelGenerator. registerCoralFan(Block coralFanBlock, Block coralWallFanBlock)
private void
BlockStateModelGenerator. registerCrop(Block crop, Property<Integer> ageProperty, int[] ageTextureIndices)
private BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator. registerCubeAllModelTexturePool(Block block)
private void
BlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)
private void
BlockStateModelGenerator. registerDoor(Block doorBlock)
private void
BlockStateModelGenerator. registerDoubleBlock(Block doubleBlock, BlockStateModelGenerator.TintType tintType)
private void
BlockStateModelGenerator. registerDoubleBlock(Block block, Identifier upperHalfModelId, Identifier lowerHalfModelId)
private void
BlockStateModelGenerator. registerFlowerPotPlant(Block plantBlock, Block flowerPotBlock, BlockStateModelGenerator.TintType tintType)
private void
BlockStateModelGenerator. registerFurnaceLikeOrientable(Block block)
private void
BlockStateModelGenerator. registerGlassPane(Block glass, Block glassPane)
private void
BlockStateModelGenerator. registerGourd(Block stemBlock, Block attachedStemBlock)
private void
BlockStateModelGenerator. registerInfested(Block modelSource, Block infested)
private void
BlockStateModelGenerator. registerItemModel(Block block)
private void
BlockStateModelGenerator. registerItemModel(Block block, String textureSuffix)
private void
BlockStateModelGenerator. registerLantern(Block lantern)
private BlockStateModelGenerator.LogTexturePool
BlockStateModelGenerator. registerLog(Block logBlock)
private void
BlockStateModelGenerator. registerMirrorable(Block block)
private void
BlockStateModelGenerator. registerMushroomBlock(Block mushroomBlock)
private void
BlockStateModelGenerator. registerNetherrackBottomCustomTop(Block block)
private void
BlockStateModelGenerator. registerNorthDefaultHorizontalRotatable(Block block, Texture texture)
private void
BlockStateModelGenerator. registerNorthDefaultHorizontalRotated(Block block, TexturedModel.Factory modelFactory)
private void
BlockStateModelGenerator. registerNorthDefaultHorizontalRotation(Block block)
private void
BlockStateModelGenerator. registerOrientableTrapdoor(Block trapdoorBlock)
private void
BlockStateModelGenerator. registerParentedItemModel(Block block, Identifier parentModelId)
private void
BlockStateModelGenerator. registerPiston(Block piston, Identifier extendedModelId, Texture texture)
private void
BlockStateModelGenerator. registerPlantPart(Block plant, Block plantStem, BlockStateModelGenerator.TintType tintType)
private void
BlockStateModelGenerator. registerPressurePlate(Block pressurePlate, Block textureSource)
private void
BlockStateModelGenerator. registerRandomHorizontalRotations(TexturedModel.Factory modelFactory, Block[] blocks)
private void
BlockStateModelGenerator. registerRod(Block block)
private void
BlockStateModelGenerator. registerRoots(Block root, Block pottedRoot)
private void
BlockStateModelGenerator. registerRotatable(Block block)
private void
BlockStateModelGenerator. registerShulkerBox(Block shulkerBox)
private void
BlockStateModelGenerator. registerSimpleCubeAll(Block block)
private void
BlockStateModelGenerator. registerSimpleState(Block block)
private void
BlockStateModelGenerator. registerSingleton(Block block, TexturedModel.Factory modelFactory)
private void
BlockStateModelGenerator. registerSouthDefaultHorizontalFacing(TexturedModel.Factory modelFactory, Block[] blocks)
private void
BlockStateModelGenerator. registerStateWithModelReference(Block block, Block modelReference)
private void
BlockStateModelGenerator. registerStraightRail(Block rail)
private void
BlockStateModelGenerator. registerTintableCross(Block block, BlockStateModelGenerator.TintType tintType)
private void
BlockStateModelGenerator. registerTintableCross(Block block, BlockStateModelGenerator.TintType tintType, Texture texture)
private void
BlockStateModelGenerator. registerTintableCrossBlockState(Block block, BlockStateModelGenerator.TintType tintType)
private void
BlockStateModelGenerator. registerTintableCrossBlockState(Block block, BlockStateModelGenerator.TintType tintType, Texture crossTexture)
private void
BlockStateModelGenerator. registerTopSoil(Block topSoil, Identifier modelId, BlockStateVariant snowyVariant)
private void
BlockStateModelGenerator. registerTorch(Block torch, Block wallTorch)
private void
BlockStateModelGenerator.BlockTexturePool. registerTrapdoor(Block block)
private void
BlockStateModelGenerator. registerTrapdoor(Block trapdoorBlock)
private void
BlockStateModelGenerator. registerTurnableRail(Block rail)
private void
BlockStateModelGenerator. registerWallPlant(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. same(Block[] blocks)
private BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. sandstone(Block block)
static Texture
Texture. sideAndEndForTop(Block block)
static Texture
Texture. sideAndTop(Block block)
static Texture
Texture. sideEnd(Block block)
static Texture
Texture. sideFrontBack(Block block)
static Texture
Texture. sideFrontEnd(Block block)
static Texture
Texture. sideFrontTop(Block block)
static Texture
Texture. sideFrontTopBottom(Block block)
static Texture
Texture. sideTopBottom(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. sign(Block signBlock)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. slab(Block block)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. stairs(Block block)
BlockStateModelGenerator.LogTexturePool
BlockStateModelGenerator.LogTexturePool. stem(Block stemBlock)
static Texture
Texture. stem(Block block)
static Texture
Texture. stemAndUpper(Block stem, Block upper)
static Texture
Texture. texture(Block block)
static Texture
Texture. top(Block top)
static Texture
Texture. topBottom(Block block)
static Texture
Texture. torch(Block block)
Identifier
Model. upload(Block block, String suffix, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
Identifier
Model. upload(Block block, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
default Identifier
TexturedModel.Factory. upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)
default Identifier
TexturedModel.Factory. upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)
Identifier
TexturedModel. upload(Block block, String suffix, BiConsumer<Identifier,Supplier<JsonElement>> writer)
Identifier
TexturedModel. upload(Block block, BiConsumer<Identifier,Supplier<JsonElement>> writer)
Identifier
Model. uploadWithoutVariant(Block block, String suffix, Texture texture, BiConsumer<Identifier,Supplier<JsonElement>> modelCollector)
BlockStateModelGenerator.BlockTexturePool
BlockStateModelGenerator.BlockTexturePool. wall(Block wallBlock)
static Texture
Texture. wallSideEnd(Block block)
static Texture
Texture. wallSideTopBottom(Block block)
BlockStateModelGenerator.LogTexturePool
BlockStateModelGenerator.LogTexturePool. wood(Block woodBlock)
static Texture
Texture. wool(Block block)
Method parameters in net.minecraft.data.client.model with type arguments of type Block Modifier and Type Method Description private static TexturedModel.Factory
TexturedModel. makeFactory(Function<Block,Texture> textureGetter, Model model)
private void
BlockStateModelGenerator. registerBeehive(Block beehive, Function<Block,Texture> textureGetter)
private void
BlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)
private void
BlockStateModelGenerator. registerCubeWithCustomTexture(Block block, Block otherTextureSource, BiFunction<Block,Block,Texture> textureFactory)
Constructors in net.minecraft.data.client.model with parameters of type Block Constructor Description BuiltinModelPool(Identifier modelId, Block block)
MultipartBlockStateSupplier(Block block)
VariantsBlockStateSupplier(Block block, List<BlockStateVariant> variants)
-
Uses of Block in net.minecraft.data.family
Fields in net.minecraft.data.family declared as Block Modifier and Type Field Description private Block
BlockFamily. baseBlock
Fields in net.minecraft.data.family with type parameters of type Block Modifier and Type Field Description private static Map<Block,BlockFamily>
BlockFamilies. BASE_BLOCKS_TO_FAMILIES
private Map<BlockFamily.Variant,Block>
BlockFamily. variants
Methods in net.minecraft.data.family that return Block Modifier and Type Method Description Block
BlockFamily. getBaseBlock()
Block
BlockFamily. getVariant(BlockFamily.Variant variant)
Methods in net.minecraft.data.family that return types with arguments of type Block Modifier and Type Method Description Map<BlockFamily.Variant,Block>
BlockFamily. getVariants()
Methods in net.minecraft.data.family with parameters of type Block Modifier and Type Method Description BlockFamily.Builder
BlockFamily.Builder. button(Block block)
BlockFamily.Builder
BlockFamily.Builder. chsieled(Block block)
BlockFamily.Builder
BlockFamily.Builder. door(Block block)
BlockFamily.Builder
BlockFamily.Builder. fence(Block block)
BlockFamily.Builder
BlockFamily.Builder. fenceGate(Block block)
BlockFamily.Builder
BlockFamily.Builder. method_34593(Block block)
BlockFamily.Builder
BlockFamily.Builder. polished(Block block)
BlockFamily.Builder
BlockFamily.Builder. pressurePlate(Block block)
private static BlockFamily.Builder
BlockFamilies. register(Block baseBlock)
BlockFamily.Builder
BlockFamily.Builder. sign(Block block, Block wallBlock)
BlockFamily.Builder
BlockFamily.Builder. slab(Block block)
BlockFamily.Builder
BlockFamily.Builder. stairs(Block block)
BlockFamily.Builder
BlockFamily.Builder. trapdoor(Block block)
BlockFamily.Builder
BlockFamily.Builder. wall(Block block)
Constructors in net.minecraft.data.family with parameters of type Block Constructor Description BlockFamily(Block baseBlock)
Builder(Block baseBlock)
-
Uses of Block in net.minecraft.data.server
Fields in net.minecraft.data.server with type parameters of type Block Modifier and Type Field Description private Function<Tag.Identified<Block>,Tag.Builder>
ItemTagsProvider. blockTags
Methods in net.minecraft.data.server that return Block Modifier and Type Method Description private static Block
RecipesProvider. getVariantRecipeInput(BlockFamily family, BlockFamily.Variant variant)
Gets the block used to craft a certain variant of a base block.Methods in net.minecraft.data.server with parameters of type Block Modifier and Type Method Description static LootTable.Builder
BlockLootTableGenerator. addDoorDrop(Block block)
void
BlockLootTableGenerator. addDrop(Block block)
private void
BlockLootTableGenerator. addDrop(Block block, Function<Block,LootTable.Builder> function)
void
BlockLootTableGenerator. addDrop(Block block, ItemConvertible drop)
private void
BlockLootTableGenerator. addDrop(Block block, LootTable.Builder lootTable)
void
BlockLootTableGenerator. addDropWithSilkTouch(Block block)
void
BlockLootTableGenerator. addDropWithSilkTouch(Block block, Block drop)
void
BlockLootTableGenerator. addPottedPlantDrop(Block block)
private void
BlockLootTableGenerator. addVinePlantDrop(Block block, Block drop)
private static LootTable.Builder
BlockLootTableGenerator. attachedCropStemDrops(Block stem, Item drop)
private static LootTable.Builder
BlockLootTableGenerator. bannerDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. beehiveDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. beeNestDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. candleCakeDrops(Block candle)
private static LootTable.Builder
BlockLootTableGenerator. candleDrops(Block candle)
private static LootTable.Builder
BlockLootTableGenerator. cropDrops(Block crop, Item product, Item seeds, LootCondition.Builder condition)
private static LootTable.Builder
BlockLootTableGenerator. cropStemDrops(Block stem, Item drop)
private static LootTable.Builder
BlockLootTableGenerator. drops(Block dropWithSilkTouch, ItemConvertible drop)
private static LootTable.Builder
BlockLootTableGenerator. drops(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count)
private static LootTable.Builder
BlockLootTableGenerator. drops(Block drop, LootCondition.Builder conditionBuilder, LootPoolEntry.Builder<?> child)
private static <T extends Comparable<T> & StringIdentifiable>
LootTable.BuilderBlockLootTableGenerator. dropsWithProperty(Block drop, Property<T> property, T t)
private static LootTable.Builder
BlockLootTableGenerator. dropsWithShears(Block drop, LootPoolEntry.Builder<?> child)
private static LootTable.Builder
BlockLootTableGenerator. dropsWithSilkTouch(Block drop, LootPoolEntry.Builder<?> child)
private static LootTable.Builder
BlockLootTableGenerator. dropsWithSilkTouchOrShears(Block drop, LootPoolEntry.Builder<?> child)
private static LootTable.Builder
BlockLootTableGenerator. grassDrops(Block dropWithShears)
private static LootTable.Builder
BlockLootTableGenerator. leavesDrop(Block leaves, Block drop, float[] chance)
private static LootTable.Builder
BlockLootTableGenerator. method_33709(Block block)
private static LootTable.Builder
BlockLootTableGenerator. method_34057(Block block)
private static LootTable.Builder
BlockLootTableGenerator. method_34058(Block block)
private static LootTable.Builder
BlockLootTableGenerator. mushroomBlockDrops(Block dropWithSilkTouch, ItemConvertible drop)
private static LootTable.Builder
BlockLootTableGenerator. nameableContainerDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. oakLeavesDrop(Block leaves, Block drop, float[] chance)
private static LootTable.Builder
BlockLootTableGenerator. oreDrops(Block dropWithSilkTouch, Item drop)
private static EnterBlockCriterion.Conditions
RecipesProvider. requireEnteringFluid(Block block)
private static LootTable.Builder
BlockLootTableGenerator. seagrassDrops(Block seagrass)
private static LootTable.Builder
BlockLootTableGenerator. shulkerBoxDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. slabDrops(Block drop)
private static LootTable.Builder
BlockLootTableGenerator. tallGrassDrops(Block tallGrass, Block grass)
Method parameters in net.minecraft.data.server with type arguments of type Block Modifier and Type Method Description private void
BlockLootTableGenerator. addDrop(Block block, Function<Block,LootTable.Builder> function)
protected void
ItemTagsProvider. copy(Tag.Identified<Block> blockTag, Tag.Identified<Item> itemTag)
-
Uses of Block in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type Block Modifier and Type Field Description private ImmutableSet<Block>
EntityType.Builder. canSpawnInside
private ImmutableSet<Block>
EntityType. canSpawnInside
Methods in net.minecraft.entity with parameters of type Block Modifier and Type Method Description EntityType.Builder<T>
EntityType.Builder. allowSpawningInside(Block[] blocks)
Allows this type of entity to spawn inside the given block, bypassing the default wither rose, sweet berry bush, cactus, and fire-damage-dealing blocks for non-fire-resistant mobs.void
FallingBlockEntity. onDestroyedOnLanding(Block block, BlockPos pos)
Constructor parameters in net.minecraft.entity with type arguments of type Block Constructor Description EntityType(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, int maxTrackDistance, int trackTickInterval)
-
Uses of Block in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as Block Modifier and Type Field Description private Block
StepAndDestroyBlockGoal. targetBlock
Constructors in net.minecraft.entity.ai.goal with parameters of type Block Constructor Description StepAndDestroyBlockGoal(Block targetBlock, PathAwareEntity mob, double speed, int maxYDifference)
-
Uses of Block in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as Block Modifier and Type Field Description private Block
BoatEntity.Type. baseBlock
Methods in net.minecraft.entity.vehicle that return Block Modifier and Type Method Description Block
BoatEntity.Type. getBaseBlock()
Constructors in net.minecraft.entity.vehicle with parameters of type Block Constructor Description Type(Block baseBlock, String name)
-
Uses of Block in net.minecraft.item
Fields in net.minecraft.item declared as Block Modifier and Type Field Description private Block
AirBlockItem. block
private Block
BlockItem. block
Deprecated.protected Block
WallStandingBlockItem. wallBlock
Fields in net.minecraft.item with type parameters of type Block Modifier and Type Field Description static Map<Block,Item>
Item. BLOCK_ITEMS
private static Object2IntMap<Block>
PickaxeItem. BLOCK_MINING_LEVELS
private static Set<Block>
AxeItem. EFFECTIVE_BLOCKS
private static Set<Block>
HoeItem. EFFECTIVE_BLOCKS
private static Set<Block>
PickaxeItem. EFFECTIVE_BLOCKS
private static Set<Block>
ShovelItem. EFFECTIVE_BLOCKS
private Set<Block>
MiningToolItem. effectiveBlocks
protected static Map<Block,BlockState>
ShovelItem. PATH_STATES
protected static Map<Block,Block>
AxeItem. STRIPPED_BLOCKS
protected static Map<Block,Block>
AxeItem. STRIPPED_BLOCKS
protected static Map<Block,BlockState>
HoeItem. TILLED_BLOCKS
static Supplier<BiMap<Block,Block>>
HoneycombItem. UNWAXED_TO_WAXED_BLOCKS
static Supplier<BiMap<Block,Block>>
HoneycombItem. UNWAXED_TO_WAXED_BLOCKS
static Supplier<BiMap<Block,Block>>
HoneycombItem. WAXED_TO_UNWAXED_BLOCKS
static Supplier<BiMap<Block,Block>>
HoneycombItem. WAXED_TO_UNWAXED_BLOCKS
Methods in net.minecraft.item that return Block Modifier and Type Method Description Block
BlockItem. getBlock()
Methods in net.minecraft.item with parameters of type Block Modifier and Type Method Description static Item
Item. fromBlock(Block block)
Deprecated.private static Item
Items. register(Block block)
protected static Item
Items. register(Block block, Item item)
private static Item
Items. register(Block block, ItemGroup group)
private static Item
Items. register(Block block, ItemGroup itemGroup, Block[] block2)
Method parameters in net.minecraft.item with type arguments of type Block Modifier and Type Method Description void
BlockItem. appendBlocks(Map<Block,Item> map, Item item)
void
WallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)
Constructors in net.minecraft.item with parameters of type Block Constructor Description AirBlockItem(Block block, Item.Settings settings)
AliasedBlockItem(Block block, Item.Settings settings)
BannerItem(Block standingBlock, Block wallBlock, Item.Settings settings)
BedItem(Block block, Item.Settings settings)
BlockItem(Block block, Item.Settings settings)
CommandBlockItem(Block block, Item.Settings settings)
LilyPadItem(Block block, Item.Settings settings)
PowderSnowBucketItem(Block block, SoundEvent placeSound, Item.Settings settings)
ScaffoldingItem(Block block, Item.Settings settings)
SignItem(Item.Settings settings, Block standingBlock, Block wallBlock)
SkullItem(Block standingBlock, Block wallBlock, Item.Settings settings)
TallBlockItem(Block block, Item.Settings settings)
WallStandingBlockItem(Block standingBlock, Block wallBlock, Item.Settings settings)
Constructor parameters in net.minecraft.item with type arguments of type Block Constructor Description MiningToolItem(float attackDamage, float attackSpeed, ToolMaterial material, Set<Block> effectiveBlocks, Item.Settings settings)
-
Uses of Block in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as Block Modifier and Type Field Description private Block
BlockStatePropertyLootCondition. block
private Block
BlockStatePropertyLootCondition.Builder. block
Methods in net.minecraft.loot.condition with parameters of type Block Modifier and Type Method Description static BlockStatePropertyLootCondition.Builder
BlockStatePropertyLootCondition. builder(Block block)
Constructors in net.minecraft.loot.condition with parameters of type Block Constructor Description BlockStatePropertyLootCondition(Block block, StatePredicate properties)
Builder(Block block)
-
Uses of Block in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as Block Modifier and Type Field Description private Block
CopyStateFunction. block
private Block
CopyStateFunction.Builder. block
Methods in net.minecraft.loot.function with parameters of type Block Modifier and Type Method Description static CopyStateFunction.Builder
CopyStateFunction. getBuilder(Block block)
Constructors in net.minecraft.loot.function with parameters of type Block Constructor Description Builder(Block block)
CopyStateFunction(LootCondition[] conditions, Block block, Set<Property<?>> properties)
-
Uses of Block in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Block Modifier and Type Field Description private Block
BlockEventS2CPacket. block
Methods in net.minecraft.network.packet.s2c.play that return Block Modifier and Type Method Description Block
BlockEventS2CPacket. getBlock()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type Block Constructor Description BlockEventS2CPacket(BlockPos pos, Block block, int type, int data)
-
Uses of Block in net.minecraft.predicate
Fields in net.minecraft.predicate declared as Block Modifier and Type Field Description private @Nullable Block
BlockPredicate. block
private @Nullable Block
BlockPredicate.Builder. block
Fields in net.minecraft.predicate with type parameters of type Block Modifier and Type Field Description private @Nullable Tag<Block>
BlockPredicate.Builder. tag
private @Nullable Tag<Block>
BlockPredicate. tag
Methods in net.minecraft.predicate with parameters of type Block Modifier and Type Method Description BlockPredicate.Builder
BlockPredicate.Builder. block(Block block)
Method parameters in net.minecraft.predicate with type arguments of type Block Modifier and Type Method Description BlockPredicate.Builder
BlockPredicate.Builder. tag(Tag<Block> tag)
Constructors in net.minecraft.predicate with parameters of type Block Constructor Description BlockPredicate(@Nullable Tag<Block> tag, @Nullable Block block, StatePredicate state, NbtPredicate nbt)
Constructor parameters in net.minecraft.predicate with type arguments of type Block Constructor Description BlockPredicate(@Nullable Tag<Block> tag, @Nullable Block block, StatePredicate state, NbtPredicate nbt)
-
Uses of Block in net.minecraft.predicate.block
Fields in net.minecraft.predicate.block declared as Block Modifier and Type Field Description private Block
BlockPredicate. block
Fields in net.minecraft.predicate.block with type parameters of type Block Modifier and Type Field Description private StateManager<Block,BlockState>
BlockStatePredicate. manager
Methods in net.minecraft.predicate.block with parameters of type Block Modifier and Type Method Description static BlockStatePredicate
BlockStatePredicate. forBlock(Block block)
static BlockPredicate
BlockPredicate. make(Block block)
Constructors in net.minecraft.predicate.block with parameters of type Block Constructor Description BlockPredicate(Block block)
Constructor parameters in net.minecraft.predicate.block with type arguments of type Block Constructor Description BlockStatePredicate(StateManager<Block,BlockState> manager)
-
Uses of Block in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type Block Modifier and Type Method Description protected static boolean
ScreenHandler. canUse(ScreenHandlerContext context, PlayerEntity player, Block block)
-
Uses of Block in net.minecraft.server.world
Fields in net.minecraft.server.world declared as Block Modifier and Type Field Description private Block
BlockEvent. block
Fields in net.minecraft.server.world with type parameters of type Block Modifier and Type Field Description private ServerTickScheduler<Block>
ServerWorld. blockTickScheduler
Methods in net.minecraft.server.world that return Block Modifier and Type Method Description Block
BlockEvent. getBlock()
Methods in net.minecraft.server.world that return types with arguments of type Block Modifier and Type Method Description ServerTickScheduler<Block>
ServerWorld. getBlockTickScheduler()
Methods in net.minecraft.server.world with parameters of type Block Modifier and Type Method Description void
ServerWorld. addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
void
ServerWorld. updateNeighbors(BlockPos pos, Block block)
Method parameters in net.minecraft.server.world with type arguments of type Block Modifier and Type Method Description private void
ServerWorld. tickBlock(ScheduledTick<Block> tick)
Constructors in net.minecraft.server.world with parameters of type Block Constructor Description BlockEvent(BlockPos pos, Block block, int type, int data)
-
Uses of Block in net.minecraft.stat
Fields in net.minecraft.stat with type parameters of type Block Modifier and Type Field Description static StatType<Block>
Stats. MINED
-
Uses of Block in net.minecraft.structure
Fields in net.minecraft.structure with type parameters of type Block Modifier and Type Field Description private static Set<Block>
StructurePiece. BLOCKS_NEEDING_POST_PROCESSING
private Map<Block,List<Structure.StructureBlockInfo>>
Structure.PalettedBlockInfoList. blockToInfos
protected static Set<Block>
OceanMonumentGenerator.Piece. ICE_BLOCKS
Methods in net.minecraft.structure with parameters of type Block Modifier and Type Method Description private static StructureProcessorRule
RuinedPortalStructurePiece. createReplacementRule(Block old, float chance, Block updated)
private static StructureProcessorRule
RuinedPortalStructurePiece. createReplacementRule(Block old, Block updated)
List<Structure.StructureBlockInfo>
Structure.PalettedBlockInfoList. getAllOf(Block block)
List<Structure.StructureBlockInfo>
Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
List<Structure.StructureBlockInfo>
Structure. getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
void
Structure. saveFromWorld(World world, BlockPos start, Vec3i vec3i, boolean includeEntities, @Nullable Block ignoredBlock)
-
Uses of Block in net.minecraft.structure.processor
Fields in net.minecraft.structure.processor with type parameters of type Block Modifier and Type Field Description private ImmutableList<Block>
BlockIgnoreStructureProcessor. blocks
private Map<Block,Block>
BlackstoneReplacementStructureProcessor. replacementMap
private Map<Block,Block>
BlackstoneReplacementStructureProcessor. replacementMap
Methods in net.minecraft.structure.processor with parameters of type Block Modifier and Type Method Description private static BlockState
BlockAgeStructureProcessor. randomStairProperties(Random random, Block stairs)
Constructor parameters in net.minecraft.structure.processor with type arguments of type Block Constructor Description BlockIgnoreStructureProcessor(List<Block> blocks)
-
Uses of Block in net.minecraft.structure.rule
Fields in net.minecraft.structure.rule declared as Block Modifier and Type Field Description private Block
BlockMatchRuleTest. block
private Block
RandomBlockMatchRuleTest. block
Fields in net.minecraft.structure.rule with type parameters of type Block Modifier and Type Field Description private Tag<Block>
TagMatchRuleTest. tag
Constructors in net.minecraft.structure.rule with parameters of type Block Constructor Description BlockMatchRuleTest(Block block)
RandomBlockMatchRuleTest(Block block, float probability)
Constructor parameters in net.minecraft.structure.rule with type arguments of type Block Constructor Description TagMatchRuleTest(Tag<Block> tag)
-
Uses of Block in net.minecraft.tag
Methods in net.minecraft.tag that return types with arguments of type Block Modifier and Type Method Description static TagGroup<Block>
BlockTags. getTagGroup()
private static Tag.Identified<Block>
BlockTags. register(String id)
-
Uses of Block in net.minecraft.test
Methods in net.minecraft.test with parameters of type Block Modifier and Type Method Description void
StartupParameter. method_35946(int int2, int int3, int int4, Block block)
void
StartupParameter. method_35971(Block block, int int2, int int3, int int4)
void
StartupParameter. method_35972(Block block, BlockPos blockPos)
void
StartupParameter. method_35984(BlockPos blockPos, Block block)
void
StartupParameter. method_36011(Block block, int int2, int int3, int int4)
void
StartupParameter. method_36012(Block block, BlockPos blockPos)
void
StartupParameter. method_36024(Block block, int int2, int int3, int int4)
void
StartupParameter. method_36025(Block block, BlockPos blockPos)
protected static void
StructureTestListener. visualizeTest(GameTest test, Block block)
Method parameters in net.minecraft.test with type arguments of type Block Modifier and Type Method Description void
StartupParameter. method_35991(BlockPos blockPos, Predicate<Block> predicate, String string)
void
StartupParameter. method_35992(BlockPos blockPos, Predicate<Block> predicate, Supplier<String> supplier)
-
Uses of Block in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Block Modifier and Type Field Description static DefaultedRegistry<Block>
Registry. BLOCK
static RegistryKey<Registry<Block>>
Registry. BLOCK_KEY
-
Uses of Block in net.minecraft.village
Fields in net.minecraft.village with type parameters of type Block Modifier and Type Field Description private ImmutableSet<Block>
VillagerProfession. secondaryJobSites
Methods in net.minecraft.village that return types with arguments of type Block Modifier and Type Method Description ImmutableSet<Block>
VillagerProfession. getSecondaryJobSites()
Constructors in net.minecraft.village with parameters of type Block Constructor Description SellItemFactory(Block block, int price, int count, int maxUses, int experience)
-
Uses of Block in net.minecraft.world
Fields in net.minecraft.world with type parameters of type Block Modifier and Type Field Description private TickScheduler<Block>
ChunkRegion. blockTickScheduler
Methods in net.minecraft.world that return types with arguments of type Block Modifier and Type Method Description TickScheduler<Block>
ChunkRegion. getBlockTickScheduler()
TickScheduler<Block>
WorldAccess. getBlockTickScheduler()
Methods in net.minecraft.world with parameters of type Block Modifier and Type Method Description void
World. addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
static Optional<BlockPos>
PortalUtil. method_34851(BlockView blockView, BlockPos blockPos, Block block, Direction direction, Block block2)
void
World. updateComparators(BlockPos pos, Block block)
void
World. updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos neighborPos)
default void
WorldAccess. updateNeighbors(BlockPos pos, Block block)
void
World. updateNeighborsAlways(BlockPos pos, Block block)
void
World. updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction)
-
Uses of Block in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type Block Modifier and Type Field Description private static Map<Block,UpgradeData.Logic>
UpgradeData. BLOCK_TO_LOGIC
private ChunkTickScheduler<Block>
ProtoChunk. blockTickScheduler
private TickScheduler<Block>
WorldChunk. blockTickScheduler
Methods in net.minecraft.world.chunk that return types with arguments of type Block Modifier and Type Method Description TickScheduler<Block>
Chunk. getBlockTickScheduler()
ChunkTickScheduler<Block>
ProtoChunk. getBlockTickScheduler()
ChunkTickScheduler<Block>
ReadOnlyChunk. getBlockTickScheduler()
TickScheduler<Block>
WorldChunk. getBlockTickScheduler()
Constructors in net.minecraft.world.chunk with parameters of type Block Constructor Description BuiltinLogic(boolean bool, Block[] block)
BuiltinLogic(Block[] blocks)
Constructor parameters in net.minecraft.world.chunk with type arguments of type Block Constructor Description ProtoChunk(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] chunkSection, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world)
WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer)
-
Uses of Block in net.minecraft.world.dimension
Methods in net.minecraft.world.dimension that return types with arguments of type Block Modifier and Type Method Description Tag<Block>
DimensionType. getInfiniburnBlocks()
-
Uses of Block in net.minecraft.world.gen.carver
Fields in net.minecraft.world.gen.carver with type parameters of type Block Modifier and Type Field Description protected Set<Block>
Carver. alwaysCarvableBlocks
-
Uses of Block in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk declared as Block Modifier and Type Field Description private Block
FlatChunkGeneratorLayer. field_29566
Constructors in net.minecraft.world.gen.chunk with parameters of type Block Constructor Description FlatChunkGeneratorLayer(int thickness, Block block)
-
Uses of Block in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature with type parameters of type Block Modifier and Type Field Description private static ImmutableList<Block>
BasaltColumnsFeature. BLOCKS
private static ImmutableList<Block>
DeltaFeature. BLOCKS
Set<Block>
SpringFeatureConfig. validBlocks
private Set<Block>
RandomPatchFeatureConfig.Builder. whitelist
Set<Block>
RandomPatchFeatureConfig. whitelist
Methods in net.minecraft.world.gen.feature with parameters of type Block Modifier and Type Method Description boolean
GlowLichenFeatureConfig. canGrowOn(Block block)
private static @Nullable BlockPos
ReplaceBlobsFeature. moveDownToTarget(WorldAccess world, BlockPos.Mutable mutablePos, Block target)
Method parameters in net.minecraft.world.gen.feature with type arguments of type Block Modifier and Type Method Description RandomPatchFeatureConfig.Builder
RandomPatchFeatureConfig.Builder. whitelist(Set<Block> whitelist)
Constructors in net.minecraft.world.gen.feature with parameters of type Block Constructor Description Type(String name, Block log, Block planks, Block fence)
Constructor parameters in net.minecraft.world.gen.feature with type arguments of type Block Constructor Description RandomPatchFeatureConfig(BlockStateProvider stateProvider, BlockPlacer blockPlacer, Set<Block> whitelist, Set<BlockState> blacklist, int tries, int spreadX, int spreadY, int spreadZ, boolean canReplace, boolean project, boolean needsWater)
SpringFeatureConfig(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, Set<Block> validBlocks)
-
Uses of Block in net.minecraft.world.gen.stateprovider
Fields in net.minecraft.world.gen.stateprovider declared as Block Modifier and Type Field Description private Block
PillarBlockStateProvider. block
Constructors in net.minecraft.world.gen.stateprovider with parameters of type Block Constructor Description PillarBlockStateProvider(Block block)
-
Uses of Block in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type Block Modifier and Type Method Description private static Set<BlockState>
PointOfInterestType. getAllStatesOf(Block block)
asItem()