Package io.papermc.paper.tag
Class EntitySetTag
- All Implemented Interfaces:
Keyed
,Tag<EntityType>
-
Field Summary
Fields inherited from interface org.bukkit.Tag
ACACIA_LOGS, ANVIL, ARROWS, AXOLOTL_TEMPT_ITEMS, BAMBOO_PLANTABLE_ON, BANNERS, BASE_STONE_NETHER, BASE_STONE_OVERWORLD, BEACON_BASE_BLOCKS, BEDS, BEE_GROWABLES, BEEHIVE_INHABITORS, BEEHIVES, BIRCH_LOGS, BUTTONS, CAMPFIRES, CANDLE_CAKES, CANDLES, CARPETS, CAULDRONS, CAVE_VINES, CLIMBABLE, CLUSTER_MAX_HARVESTABLES, COAL_ORES, COPPER_ORES, CORAL_BLOCKS, CORAL_PLANTS, CORALS, CRIMSON_STEMS, CROPS, CRYSTAL_SOUND_BLOCKS, DARK_OAK_LOGS, DEEPSLATE_ORE_REPLACEABLES, DIAMOND_ORES, DIRT, DOORS, DRAGON_IMMUNE, DRIPSTONE_REPLACEABLE, EMERALD_ORES, ENDERMAN_HOLDABLE, FEATURES_CANNOT_REPLACE, FENCE_GATES, FENCES, FIRE, FLOWER_POTS, FLOWERS, FLUIDS_LAVA, FLUIDS_WATER, FOX_FOOD, FREEZE_IMMUNE_WEARABLES, GEODE_INVALID_BLOCKS, GOLD_ORES, GUARDED_BY_PIGLINS, HOGLIN_REPELLENTS, ICE, IGNORED_BY_PIGLIN_BABIES, IMPACT_PROJECTILES, IMPERMEABLE, INFINIBURN_END, INFINIBURN_NETHER, INFINIBURN_OVERWORLD, INSIDE_STEP_SOUND_BLOCKS, IRON_ORES, ITEMS_ARROWS, ITEMS_BANNERS, ITEMS_BEACON_PAYMENT_ITEMS, ITEMS_BOATS, ITEMS_COALS, ITEMS_CREEPER_DROP_MUSIC_DISCS, ITEMS_FISHES, ITEMS_FURNACE_MATERIALS, ITEMS_LECTERN_BOOKS, ITEMS_MUSIC_DISCS, ITEMS_PIGLIN_LOVED, ITEMS_STONE_TOOL_MATERIALS, JUNGLE_LOGS, LAPIS_ORES, LAVA_POOL_STONE_CANNOT_REPLACE, LEAVES, LOGS, LOGS_THAT_BURN, LUSH_GROUND_REPLACEABLE, MINEABLE_AXE, MINEABLE_HOE, MINEABLE_PICKAXE, MINEABLE_SHOVEL, MOSS_REPLACEABLE, MUSHROOM_GROW_BLOCK, NEEDS_DIAMOND_TOOL, NEEDS_IRON_TOOL, NEEDS_STONE_TOOL, NON_FLAMMABLE_WOOD, NYLIUM, OAK_LOGS, OCCLUDES_VIBRATION_SIGNALS, PIGLIN_FOOD, PIGLIN_REPELLENTS, PLANKS, PORTALS, PRESSURE_PLATES, PREVENT_MOB_SPAWNING_INSIDE, RAIDERS, RAILS, REDSTONE_ORES, REGISTRY_BLOCKS, REGISTRY_ENTITIES, REGISTRY_FLUIDS, REGISTRY_ITEMS, SAND, SAPLINGS, SHULKER_BOXES, SIGNS, SKELETONS, SLABS, SMALL_DRIPLEAF_PLACEABLE, SMALL_FLOWERS, SNOW, SOUL_FIRE_BASE_BLOCKS, SOUL_SPEED_BLOCKS, SPRUCE_LOGS, STAIRS, STANDING_SIGNS, STONE_BRICKS, STONE_ORE_REPLACEABLES, STONE_PRESSURE_PLATES, STRIDER_WARM_BLOCKS, TALL_FLOWERS, TRAPDOORS, UNDERWATER_BONEMEALS, UNSTABLE_BOTTOM_CENTER, VALID_SPAWN, WALL_CORALS, WALL_POST_OVERRIDE, WALL_SIGNS, WALLS, WARPED_STEMS, WART_BLOCKS, WITHER_IMMUNE, WITHER_SUMMON_BASE_BLOCKS, WOODEN_BUTTONS, WOODEN_DOORS, WOODEN_FENCES, WOODEN_PRESSURE_PLATES, WOODEN_SLABS, WOODEN_STAIRS, WOODEN_TRAPDOORS, WOOL
-
Constructor Summary
ConstructorDescriptionEntitySetTag(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values)
EntitySetTag(@NotNull NamespacedKey key, @NotNull Collection<EntityType> values, @NotNull Predicate<EntityType>... globalPredicates)
EntitySetTag(@NotNull NamespacedKey key, @NotNull Predicate<EntityType> filter)
EntitySetTag(@NotNull NamespacedKey key, @NotNull EntityType... values)
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Set<EntityType>
getName(@NotNull EntityType value)
Methods inherited from class io.papermc.paper.tag.BaseTag
add, add, add, add, contains, endsWith, ensureSize, getKey, getValues, isTagged, not, not, not, not, notContains, notEndsWith, notStartsWith, startsWith
-
Constructor Details
-
EntitySetTag
public EntitySetTag(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Predicate<EntityType> filter) -
EntitySetTag
-
EntitySetTag
public EntitySetTag(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Collection<EntityType> values) -
EntitySetTag
public EntitySetTag(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Collection<EntityType> values, @NotNull @NotNull Predicate<EntityType>... globalPredicates)
-
-
Method Details
-
getAllPossibleValues
- Specified by:
getAllPossibleValues
in classBaseTag<EntityType,EntitySetTag>
-
getName
- Specified by:
getName
in classBaseTag<EntityType,EntitySetTag>
-