Package com.palmergames.bukkit.util
Class ItemLists
java.lang.Object
com.palmergames.bukkit.towny.object.AbstractRegistryList<org.bukkit.Material>
com.palmergames.bukkit.util.ItemLists
Item lists as Strings. Useful for groups that are missing from the Spigot Tags.
Did not use Materials because then we would be limited to specific versions of MC as new items are added.
Did not use Materials because then we would be limited to specific versions of MC as new items are added.
- Author:
- LlmDl
-
Nested Class Summary
Nested classes/interfaces inherited from class com.palmergames.bukkit.towny.object.AbstractRegistryList
AbstractRegistryList.Builder<T extends org.bukkit.Keyed,F extends AbstractRegistryList<T>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ItemListsMinecraft uses 3 types of airstatic final ItemListsList of Armour items.static final ItemListsList of Axe items.static final ItemListsList of all the bannersstatic final ItemListsList of Beds.static final ItemListsList of Boats.static final ItemListsList of blocks that can hold booksstatic final ItemListsList of Bow items.static final ItemListsstatic final ItemListsList of Buckets.static final ItemListsList of Buttons.static final ItemListsList of Campfiresstatic final ItemListsList of Candlesstatic final ItemListsList of Carpets.static final ItemListsstatic final ItemListsstatic final ItemListsList of Copper Blocks.static final ItemListsList of wall coral fans, players can fall through thesestatic final ItemListsList of Crops.static final ItemListsList of Doors.static final ItemListsList of Dye items.static final ItemListsList of blocks which, when exploded, will not have their drops set to false, despite our asking.static final ItemListsstatic final ItemListsList of Fence Gates.static final ItemListsstatic final ItemListsList of Flowers.Config-useable material groups.static final ItemListsList of Hanging entitiesstatic final ItemListsList of harvestable berriesstatic final ItemListsList of hoesstatic final ItemListsstatic final ItemListsList of Item Framesstatic final ItemListsList of Leaves.static final ItemListsList of liquid blocksstatic final ItemListsstatic final ItemListsList of Minecarts.static final ItemListsList of Non-Wooden Pressure Plates.static final ItemListsList of solid blocksstatic final ItemListsList of Ores and Valuable Raw Materials.static final ItemListsList of placeable booksstatic final ItemListsList of Plantable plants.static final ItemListsList of Plants.static final ItemListsList of Potted Plants.static final ItemListsList of Pressure Plates.static final ItemListsstatic final ItemListsList of materials that will activate redstone when triggered by a projectile.static final ItemListsList of Redstone blocks that can be interacted with.static final ItemListsList of Saplings.static final ItemListsList of Shulker Boxes.static final ItemListsList of Signs.static final ItemListsList of Skulls and Headsstatic final ItemListsList of Sword items.static final ItemListsList of Torchesstatic final ItemListsList of Trap Doors.static final ItemListsList of Trees and Leaves.static final ItemListsstatic final ItemListsList of Scrapable Blocks (They can lose their wax.)static final ItemListsList of Weapon items.static final ItemListsList of Weatherable Blocks.static final ItemListsList of Wooden Doors.Fields inherited from class com.palmergames.bukkit.towny.object.AbstractRegistryList
tagged -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(@NotNull org.bukkit.inventory.ItemStack itemStack) static @NotNull @Unmodifiable Set<org.bukkit.Material> getGrouping(String groupName) Returns a pre-configured list from the GROUPS.static AbstractRegistryList.Builder<org.bukkit.Material, ItemLists> Methods inherited from class com.palmergames.bukkit.towny.object.AbstractRegistryList
contains, contains, contains, tagged
-
Field Details
-
AXES
List of Axe items. -
SWORDS
List of Sword items. -
BOWS
List of Bow items. -
WEAPONS
List of Weapon items. -
ARMOURS
List of Armour items. -
DYES
List of Dye items. -
REDSTONE_INTERACTABLES
List of Redstone blocks that can be interacted with. -
POTTED_PLANTS
List of Potted Plants. -
FLOWERS
List of Flowers. -
ORES
List of Ores and Valuable Raw Materials. -
SAPLINGS
List of Saplings. -
PLANTABLES
List of Plantable plants. -
CROPS
List of Crops. -
TREES
List of Trees and Leaves. -
LEAVES
List of Leaves. -
BEDS
List of Beds. -
SIGNS
List of Signs. -
TORCHES
List of Torches -
SKULLS
List of Skulls and Heads -
BOATS
List of Boats. -
MINECARTS
List of Minecarts. -
WOOD_DOORS
List of Wooden Doors. -
DOORS
List of Doors. -
FENCE_GATES
List of Fence Gates. -
TRAPDOORS
List of Trap Doors. -
SHULKER_BOXES
List of Shulker Boxes. -
PRESSURE_PLATES
List of Pressure Plates. -
NON_WOODEN_PRESSURE_PLATES
List of Non-Wooden Pressure Plates. -
BUTTONS
List of Buttons. -
PROJECTILE_TRIGGERED_REDSTONE
List of materials that will activate redstone when triggered by a projectile. -
BUCKETS
List of Buckets. -
COPPER_BLOCKS
List of Copper Blocks. -
WEATHERABLE_BLOCKS
List of Weatherable Blocks. -
WAXED_BLOCKS
List of Scrapable Blocks (They can lose their wax.) -
CANDLES
List of Candles -
ITEM_FRAMES
List of Item Frames -
HANGING_ENTITIES
List of Hanging entities -
CAMPFIRES
List of Campfires -
BOOK_CONTAINERS
List of blocks that can hold books -
PLACEABLE_BOOKS
List of placeable books -
HARVESTABLE_BERRIES
List of harvestable berries -
MINECART_KILLERS
-
UNSTRIPPED_WOOD
-
CAULDRONS
-
FILLED_CAULDRONS
-
CAULDRON_FILLABLE
-
LIQUID_BLOCKS
List of liquid blocks -
HOES
List of hoes -
BRUSHABLE_BLOCKS
-
PROJECTILE_BREAKABLE_BLOCKS
-
CARPETS
List of Carpets. -
PLANTS
List of Plants. -
AIR_TYPES
Minecraft uses 3 types of air -
BANNERS
List of all the banners -
CORAL_FANS
List of wall coral fans, players can fall through these -
NOT_SOLID_BLOCKS
List of solid blocks -
FALLING_BLOCKS
-
EXPLODABLE_ATTACHABLES
List of blocks which, when exploded, will not have their drops set to false, despite our asking. -
INFESTED_BLOCKS
-
GROUPS
Config-useable material groups.
-
-
Method Details
-
contains
public boolean contains(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack) -
getMaterialNameCollection
-
getGrouping
@NotNull public static @NotNull @Unmodifiable Set<org.bukkit.Material> getGrouping(String groupName) Returns a pre-configured list from the GROUPS.- Parameters:
groupName- - String value of one of theGROUPS- Returns:
- - Set<Material> grouping of materials, or an empty set if the grouping was not found.
-
newBuilder
-