Package org.bukkit
Interface Tag<T extends Keyed>
-
- Type Parameters:
T- the type of things grouped by this tag
- All Superinterfaces:
Keyed
public interface Tag<T extends Keyed> extends Keyed
Represents a tag that may be defined by the server or a resource pack to group like things together. Note that whilst all tags defined within this interface must be present in implementations, their existence is not guaranteed across future versions.
-
-
Field Summary
Fields Modifier and Type Field Description static Tag<Material>ACACIA_LOGSVanilla block tag representing all acacia log and bark variants.static Tag<Material>ANVILVanilla block tag representing all damaged and undamaged anvils.static Tag<Material>BAMBOO_PLANTABLE_ONVanilla block tag denoting all blocks bamboo may be planted on.static Tag<Material>BANNERSVanilla block tag representing all banner blocks.static Tag<Material>BEDSVanilla block tag representing all beds.static Tag<Material>BIRCH_LOGSVanilla block tag representing all birch log and bark variants.static Tag<Material>BUTTONSVanilla block tag representing all buttons (inherits fromWOODEN_BUTTONS.static Tag<Material>CARPETSVanilla block tag representing all colors of carpet.static Tag<Material>CORAL_BLOCKSVanilla block tag representing all coral blocks.static Tag<Material>CORAL_PLANTSVanilla block tag representing all coral plants.static Tag<Material>CORALSVanilla block tag representing all coral.static Tag<Material>DARK_OAK_LOGSVanilla block tag representing all dark oak log and bark variants.static Tag<Material>DIRT_LIKEVanilla block tag denoting dirt like blocks.static Tag<Material>DOORSVanilla block tag representing all doors (inherits fromWOODEN_DOORS.static Tag<Material>ENDERMAN_HOLDABLEVanilla block tag denoting blocks that enderman may pick up and hold.static Tag<Material>FENCESVanilla block tag representing all fences.static Tag<Material>FLOWER_POTSVanilla block tag representing all empty and filled flower pots.static Tag<Material>ICEVanilla block tag denoting ice blocks.static Tag<Material>IMPERMEABLEVanilla block tag denoting impermeable blocks which do not drip fluids.static Tag<Material>ITEMS_ARROWSVanilla item tag representing all arrow items.static Tag<Material>ITEMS_BANNERSVanilla item tag representing all banner items.static Tag<Material>ITEMS_BOATSVanilla item tag representing all boat items.static Tag<Material>ITEMS_COALSVanilla item tag representing all coal items.static Tag<Material>ITEMS_FISHESVanilla item tag representing all fish items.static Tag<Material>ITEMS_MUSIC_DISCSVanilla item tag representing all music disc items.static Tag<Material>JUNGLE_LOGSVanilla block tag representing all jungle log and bark variants.static Tag<Material>LEAVESVanilla block tag representing all leaves fans.static Tag<Material>LOGSVanilla block tag representing all log and bark variants.static Tag<Material>OAK_LOGSVanilla block tag representing all oak log and bark variants.static Tag<Material>PLANKSVanilla block tag representing all plank variants.static Tag<Material>RAILSVanilla block tag representing all Minecart rails.static StringREGISTRY_BLOCKSKey for the built in block registry.static StringREGISTRY_ITEMSKey for the built in item registry.static Tag<Material>SANDVanilla block tag representing all sand blocks.static Tag<Material>SAPLINGSVanilla block tag representing all sapling variants.static Tag<Material>SIGNSVanilla block tag representing all signs.static Tag<Material>SLABSVanilla block tag representing all slabs.static Tag<Material>SMALL_FLOWERSVanilla block tag representing all small flowers.static Tag<Material>SPRUCE_LOGSVanilla block tag representing all spruce log and bark variants.static Tag<Material>STAIRSVanilla block tag representing all stairs.static Tag<Material>STANDING_SIGNSVanilla block tag representing all standing signs.static Tag<Material>STONE_BRICKSVanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.static Tag<Material>TRAPDOORSVanilla block tag representing all trapdoors (inherits fromWOODEN_TRAPDOORS.static Tag<Material>UNDERWATER_BONEMEALSVanilla block tag denoting all underwater blocks which may be bonemealed.static Tag<Material>VALID_SPAWNVanilla block tag denoting all valid mob spawn positions.static Tag<Material>WALL_CORALSVanilla block tag representing all wall corals.static Tag<Material>WALL_SIGNSVanilla block tag representing all wall signs.static Tag<Material>WALLSVanilla block tag representing all walls.static Tag<Material>WOODEN_BUTTONSVanilla block tag representing all wooden buttons.static Tag<Material>WOODEN_DOORSVanilla block tag representing all wooden doors.static Tag<Material>WOODEN_FENCESVanilla block tag representing all wooden fences.static Tag<Material>WOODEN_PRESSURE_PLATESVanilla block tag representing all wooden pressure plates.static Tag<Material>WOODEN_SLABSVanilla block tag representing all wooden slabs.static Tag<Material>WOODEN_STAIRSVanilla block tag representing all wooden stairs.static Tag<Material>WOODEN_TRAPDOORSVanilla block tag representing all wooden trapdoors.static Tag<Material>WOOLVanilla block tag representing all colors of wool.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<T>getValues()Gets an immutable set of all tagged items.booleanisTagged(T item)Returns whether or not this tag has an entry for the specified item.
-
-
-
Field Detail
-
REGISTRY_BLOCKS
static final String REGISTRY_BLOCKS
Key for the built in block registry.- See Also:
- Constant Field Values
-
STONE_BRICKS
static final Tag<Material> STONE_BRICKS
Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.
-
WOODEN_BUTTONS
static final Tag<Material> WOODEN_BUTTONS
Vanilla block tag representing all wooden buttons.
-
BUTTONS
static final Tag<Material> BUTTONS
Vanilla block tag representing all buttons (inherits fromWOODEN_BUTTONS.
-
WOODEN_DOORS
static final Tag<Material> WOODEN_DOORS
Vanilla block tag representing all wooden doors.
-
WOODEN_STAIRS
static final Tag<Material> WOODEN_STAIRS
Vanilla block tag representing all wooden stairs.
-
WOODEN_SLABS
static final Tag<Material> WOODEN_SLABS
Vanilla block tag representing all wooden slabs.
-
WOODEN_FENCES
static final Tag<Material> WOODEN_FENCES
Vanilla block tag representing all wooden fences.
-
WOODEN_PRESSURE_PLATES
static final Tag<Material> WOODEN_PRESSURE_PLATES
Vanilla block tag representing all wooden pressure plates.
-
WOODEN_TRAPDOORS
static final Tag<Material> WOODEN_TRAPDOORS
Vanilla block tag representing all wooden trapdoors.
-
DOORS
static final Tag<Material> DOORS
Vanilla block tag representing all doors (inherits fromWOODEN_DOORS.
-
DARK_OAK_LOGS
static final Tag<Material> DARK_OAK_LOGS
Vanilla block tag representing all dark oak log and bark variants.
-
OAK_LOGS
static final Tag<Material> OAK_LOGS
Vanilla block tag representing all oak log and bark variants.
-
BIRCH_LOGS
static final Tag<Material> BIRCH_LOGS
Vanilla block tag representing all birch log and bark variants.
-
ACACIA_LOGS
static final Tag<Material> ACACIA_LOGS
Vanilla block tag representing all acacia log and bark variants.
-
JUNGLE_LOGS
static final Tag<Material> JUNGLE_LOGS
Vanilla block tag representing all jungle log and bark variants.
-
SPRUCE_LOGS
static final Tag<Material> SPRUCE_LOGS
Vanilla block tag representing all spruce log and bark variants.
-
ANVIL
static final Tag<Material> ANVIL
Vanilla block tag representing all damaged and undamaged anvils.
-
TRAPDOORS
static final Tag<Material> TRAPDOORS
Vanilla block tag representing all trapdoors (inherits fromWOODEN_TRAPDOORS.
-
FLOWER_POTS
static final Tag<Material> FLOWER_POTS
Vanilla block tag representing all empty and filled flower pots.
-
SMALL_FLOWERS
static final Tag<Material> SMALL_FLOWERS
Vanilla block tag representing all small flowers.
-
ENDERMAN_HOLDABLE
static final Tag<Material> ENDERMAN_HOLDABLE
Vanilla block tag denoting blocks that enderman may pick up and hold.
-
VALID_SPAWN
static final Tag<Material> VALID_SPAWN
Vanilla block tag denoting all valid mob spawn positions.
-
IMPERMEABLE
static final Tag<Material> IMPERMEABLE
Vanilla block tag denoting impermeable blocks which do not drip fluids.
-
UNDERWATER_BONEMEALS
static final Tag<Material> UNDERWATER_BONEMEALS
Vanilla block tag denoting all underwater blocks which may be bonemealed.
-
CORAL_BLOCKS
static final Tag<Material> CORAL_BLOCKS
Vanilla block tag representing all coral blocks.
-
CORAL_PLANTS
static final Tag<Material> CORAL_PLANTS
Vanilla block tag representing all coral plants.
-
BAMBOO_PLANTABLE_ON
static final Tag<Material> BAMBOO_PLANTABLE_ON
Vanilla block tag denoting all blocks bamboo may be planted on.
-
STANDING_SIGNS
static final Tag<Material> STANDING_SIGNS
Vanilla block tag representing all standing signs.
-
REGISTRY_ITEMS
static final String REGISTRY_ITEMS
Key for the built in item registry.- See Also:
- Constant Field Values
-
ITEMS_BANNERS
static final Tag<Material> ITEMS_BANNERS
Vanilla item tag representing all banner items.
-
ITEMS_MUSIC_DISCS
static final Tag<Material> ITEMS_MUSIC_DISCS
Vanilla item tag representing all music disc items.
-
-