类 Tags.Blocks
java.lang.Object
net.minecraftforge.common.Tags.Blocks
- 封闭类:
Tags
-
字段概要
字段修饰符和类型字段说明For blocks that are similar to amethyst where their budding block produces buds and cluster blocksFor blocks that are similar to amethyst where they have buddings forming from budding blocksFor blocks that are similar to amethyst where they have clusters forming from budding blocks已过时, 待删除: 此 API 元素将从以后的版本中删除。Tag that holds all blocks that can be dyed a specific color.Controls what blocks Endermen cannot place blocks onto.Contains any living plant block that contains flowers or is a flower itself.Contains living ground-based flowers that are 1 block tall such as Dandelions or Poppy.Contains living ground-based flowers that are 2 block tall such as Rose Bush or Peony.已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS
and/orGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。Glass which is made from cheap resources like sand and only minor additional ingredients like dyes已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS_COLORLESS
and/orGLASS_PANES_COLORLESS
已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BLACK
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BLUE
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BROWN
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_CYAN
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_GRAY
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_GREEN
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIGHT_BLUE
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIGHT_GRAY
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIME
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_MAGENTA
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_ORANGE
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_PINK
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_PURPLE
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_RED
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_WHITE
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_YELLOW
combined withGLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS_CHEAP
instead已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。Tag that holds all blocks that recipe viewers should not show to users.For common obsidian that has no special quirks or behaviours - ideal for recipe use.Blocks which are often replaced by deepslate ores, i.e. the ores in the tagORES_IN_GROUND_DEEPSLATE
, during world generationBlocks which are often replaced by netherrack ores, i.e. the ores in the tagORES_IN_GROUND_NETHERRACK
, during world generationBlocks which are often replaced by stone ores, i.e. the ores in the tagORES_IN_GROUND_STONE
, during world generationOres which on average result in more than one resource worth of materialsOres which on average result in one resource worth of materialsOres which on average result in less than one resource worth of materialsOres in deepslate (or in equivalent blocks in the tagORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or outputOres in netherrack (or in equivalent blocks in the tagORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or outputOres in stone (or in equivalent blocks in the tagORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or outputFor pumpkins that are already carved but not a light source.For pumpkins that are already carved and a light source.For pumpkins that are not carved.Blocks should be included in this tag if their movement/relocation can cause serious issues such as world corruption upon being moved or for balance reason where the block should not be able to be relocated.Tag that holds all head based blocks such as Skeleton Skull or Player Head.已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED
combined withGLASS_PANES
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENDERMAN_PLACE_ON_BLACKLIST
Controls what blocks Endermen cannot place blocks onto. This is patched into the following method:引用无效
EnderMan.EndermanLeaveBlockGoal#canPlaceBlock(Level, BlockPos, BlockState, BlockState, BlockState, BlockPos)
-
NEEDS_WOOD_TOOL
-
NEEDS_GOLD_TOOL
-
NEEDS_NETHERITE_TOOL
-
STORAGE_BLOCKS_AMETHYST
-
STORAGE_BLOCKS_QUARTZ
-
CHESTS_ENDER
-
CHESTS_TRAPPED
-
CHORUS_ADDITIONALLY_GROWS_ON
-
COBBLESTONE_NORMAL
-
COBBLESTONE_INFESTED
-
COBBLESTONE_MOSSY
-
COBBLESTONE_DEEPSLATE
-
END_STONES
-
FENCE_GATES
-
FENCE_GATES_WOODEN
-
FENCES
-
FENCES_NETHER_BRICK
-
FENCES_WOODEN
-
GRAVEL
-
NETHERRACK
-
ORE_BEARING_GROUND_DEEPSLATE
Blocks which are often replaced by deepslate ores, i.e. the ores in the tagORES_IN_GROUND_DEEPSLATE
, during world generation -
ORE_BEARING_GROUND_NETHERRACK
Blocks which are often replaced by netherrack ores, i.e. the ores in the tagORES_IN_GROUND_NETHERRACK
, during world generation -
ORE_BEARING_GROUND_STONE
Blocks which are often replaced by stone ores, i.e. the ores in the tagORES_IN_GROUND_STONE
, during world generation -
ORE_RATES_DENSE
Ores which on average result in more than one resource worth of materials -
ORE_RATES_SINGULAR
Ores which on average result in one resource worth of materials -
ORE_RATES_SPARSE
Ores which on average result in less than one resource worth of materials -
ORES_COAL
-
ORES_COPPER
-
ORES_DIAMOND
-
ORES_EMERALD
-
ORES_GOLD
-
ORES_IRON
-
ORES_LAPIS
-
ORES_REDSTONE
-
ORES_IN_GROUND_DEEPSLATE
Ores in deepslate (or in equivalent blocks in the tagORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or output -
ORES_IN_GROUND_NETHERRACK
Ores in netherrack (or in equivalent blocks in the tagORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or output -
ORES_IN_GROUND_STONE
Ores in stone (or in equivalent blocks in the tagORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or output -
SAND
-
SAND_COLORLESS
-
SAND_RED
-
BARRELS
-
BARRELS_WOODEN
-
BOOKSHELVES
-
BUDDING_BLOCKS
For blocks that are similar to amethyst where their budding block produces buds and cluster blocks -
BUDS
For blocks that are similar to amethyst where they have buddings forming from budding blocks -
CHAINS
-
CHESTS
-
CHESTS_WOODEN
-
CLUSTERS
For blocks that are similar to amethyst where they have clusters forming from budding blocks -
COBBLESTONES
-
CONCRETES
-
DYED
Tag that holds all blocks that can be dyed a specific color. (Does not include color blending blocks that would behave similar to leather armor item) -
DYED_BLACK
-
DYED_BLUE
-
DYED_BROWN
-
DYED_CYAN
-
DYED_GRAY
-
DYED_GREEN
-
DYED_LIGHT_BLUE
-
DYED_LIGHT_GRAY
-
DYED_LIME
-
DYED_MAGENTA
-
DYED_ORANGE
-
DYED_PINK
-
DYED_PURPLE
-
DYED_RED
-
DYED_WHITE
-
DYED_YELLOW
-
FLOWERS_SMALL
Contains living ground-based flowers that are 1 block tall such as Dandelions or Poppy. Equivalent to theminecraft:small_flowers
block tag. -
FLOWERS_TALL
Contains living ground-based flowers that are 2 block tall such as Rose Bush or Peony. Equivalent to theminecraft:tall_flowers
block tag in past Minecraft versions. -
FLOWERS
Contains any living plant block that contains flowers or is a flower itself. Equivalent to theminecraft:flowers
block tag. -
GLASS_BLOCKS
-
GLASS_BLOCKS_COLORLESS
-
GLASS_BLOCKS_CHEAP
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes -
GLASS_BLOCKS_TINTED
-
GLASS_PANES
-
GLASS_PANES_COLORLESS
-
GLAZED_TERRACOTTAS
-
HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all blocks that recipe viewers should not show to users. Recipe viewers may use this to automatically find the corresponding BlockItem to hide. -
OBSIDIANS
-
OBSIDIANS_NORMAL
For common obsidian that has no special quirks or behaviours - ideal for recipe use. Crying Obsidian, for example, is a light block and harder to obtain. So it gets its own tag instead of being under normal tag. -
OBSIDIANS_CRYING
-
ORES
-
ORES_NETHERITE_SCRAP
-
ORES_QUARTZ
-
PLAYER_WORKSTATIONS_CRAFTING_TABLES
-
PLAYER_WORKSTATIONS_FURNACES
-
PUMPKINS
-
PUMPKINS_NORMAL
For pumpkins that are not carved. -
PUMPKINS_CARVED
For pumpkins that are already carved but not a light source. -
PUMPKINS_JACK_O_LANTERNS
For pumpkins that are already carved and a light source. -
RELOCATION_NOT_SUPPORTED
Blocks should be included in this tag if their movement/relocation can cause serious issues such as world corruption upon being moved or for balance reason where the block should not be able to be relocated. Example: Chunk loaders or pipes where other mods that move blocks do not respectBlockBehaviour.BlockStateBase.getPistonPushReaction()
. -
ROPES
-
SANDSTONE_BLOCKS
-
SANDSTONE_SLABS
-
SANDSTONE_STAIRS
-
SANDSTONE_RED_BLOCKS
-
SANDSTONE_RED_SLABS
-
SANDSTONE_RED_STAIRS
-
SANDSTONE_UNCOLORED_BLOCKS
-
SANDSTONE_UNCOLORED_SLABS
-
SANDSTONE_UNCOLORED_STAIRS
-
SKULLS
Tag that holds all head based blocks such as Skeleton Skull or Player Head. (Named skulls to match minecraft:skulls item tag) -
STONES
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone. -
STORAGE_BLOCKS
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources. Honey Block is special in that the reversing recipe is not a perfect mirror of the crafting recipe and so, it is considered a special case and not given a storage block tag. -
STORAGE_BLOCKS_BONE_MEAL
-
STORAGE_BLOCKS_COAL
-
STORAGE_BLOCKS_COPPER
-
STORAGE_BLOCKS_DIAMOND
-
STORAGE_BLOCKS_DRIED_KELP
-
STORAGE_BLOCKS_EMERALD
-
STORAGE_BLOCKS_GOLD
-
STORAGE_BLOCKS_IRON
-
STORAGE_BLOCKS_LAPIS
-
STORAGE_BLOCKS_NETHERITE
-
STORAGE_BLOCKS_RAW_COPPER
-
STORAGE_BLOCKS_RAW_GOLD
-
STORAGE_BLOCKS_RAW_IRON
-
STORAGE_BLOCKS_REDSTONE
-
STORAGE_BLOCKS_SLIME
-
STORAGE_BLOCKS_WHEAT
-
STRIPPED_LOGS
-
STRIPPED_WOODS
-
VILLAGER_JOB_SITES
-
COBBLESTONE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseCOBBLESTONES
instead -
GLASS_SILICA
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS_CHEAP
instead -
GLASS
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS
and/orGLASS_PANES
-
GLASS_BLACK
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_BLUE
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_BROWN
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_COLORLESS
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseGLASS_BLOCKS_COLORLESS
and/orGLASS_PANES_COLORLESS
-
GLASS_CYAN
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_GRAY
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_GREEN
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_LIGHT_BLUE
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_LIGHT_GRAY
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_LIME
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_MAGENTA
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_ORANGE
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_PINK
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_PURPLE
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_RED
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_WHITE
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_YELLOW
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
STAINED_GLASS
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
GLASS_PANES_BLACK
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BLACK
combined withGLASS_PANES
-
GLASS_PANES_BLUE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BLUE
combined withGLASS_PANES
-
GLASS_PANES_BROWN
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_BROWN
combined withGLASS_PANES
-
GLASS_PANES_CYAN
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_CYAN
combined withGLASS_PANES
-
GLASS_PANES_GRAY
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_GRAY
combined withGLASS_PANES
-
GLASS_PANES_GREEN
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_GREEN
combined withGLASS_PANES
-
GLASS_PANES_LIGHT_BLUE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIGHT_BLUE
combined withGLASS_PANES
-
GLASS_PANES_LIGHT_GRAY
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIGHT_GRAY
combined withGLASS_PANES
-
GLASS_PANES_LIME
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_LIME
combined withGLASS_PANES
-
GLASS_PANES_MAGENTA
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_MAGENTA
combined withGLASS_PANES
-
GLASS_PANES_ORANGE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_ORANGE
combined withGLASS_PANES
-
GLASS_PANES_PINK
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_PINK
combined withGLASS_PANES
-
GLASS_PANES_PURPLE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_PURPLE
combined withGLASS_PANES
-
GLASS_PANES_RED
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_RED
combined withGLASS_PANES
-
GLASS_PANES_WHITE
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_WHITE
combined withGLASS_PANES
-
GLASS_PANES_YELLOW
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED_YELLOW
combined withGLASS_PANES
-
STAINED_GLASS_PANES
已过时, 待删除: 此 API 元素将从以后的版本中删除。UseDYED
combined withGLASS_PANES
-
-
构造器详细资料
-
Blocks
public Blocks()
-
-
方法详细资料
-
init
private static void init() -
cTag
-
forgeTag
-
COBBLESTONES
instead