Convention Tags

Many new tags bringing easy functionality to blocks, items, entity types, biomes, and more.

Setup

repositories {
    mavenCentral()
}

dependencies {
    modImplementation 'dev.creoii.creoapi:creo-convention-tags:<VERSION>'
}

Block Tags

ravager_breakable: Blocks that can be broken by a Ravager. beacon_beam_ignores: Blocks that are ignored by a Beacon's beam. signal_fire_base_blocks: Blocks that cause Campfires to emit signal fire smoke when placed underneath. keeps_coral_alive: Blocks that keep Coral blocks alive when touching. keeps_farmland_moist: Blocks that keep Farmland moist when touching. anvil_softeners: Blocks that won't damage Anvils when landed upon. cocoa_beans_plantable_on: Blocks that Cocoa Beans can be placed and grown on. cactus_plantable_on: Blocks that Cacti can be placed and grown on. nether_wart_plantable_on: Blocks that Nether Wart can be placed and grown on. conduit_frame_base_blocks: Blocks which activate Conduits when placed correctly. can_drip_through: Blocks that Dripstone can drip through. eaten_by_sheep: Blocks that are eaten by Sheep, like Short Grass. projectiles_ignore: Blocks which projectiles will ignore collision with. invalid_for_shulker_teleport: Blocks that Shulkers cannot teleport to. shears_very_efficient: Blocks which are mined very quickly by Shears. shears_less_efficient: Blocks which are mined quickly by Shears. weather_render_ignores: Blocks which will not stop weather rendering below them.

Item Tags

unframeable: Items which cannot be placed in an Item Frame. tripwire_ignores: Items which do not activate Tripwires when on the ground. hopper_ignores: Items which cannot be moved by Hoppers. dolphin_ignores: Items which cannot be played with by Dolphins. fox_ignores: Items which cannot be picked up by Foxes. duplicates_allays: Items which duplicate Allays. disables_shields: Items which disable Shields on critical hits. enchanting_fuel: Items which can be used to fuel enchanting. brewing_fuel: Items which can be used to fuel brewing. repairs_iron_golems: Items which repair damaged Iron Golems. respawn_anchor_charges: Items which can be used to charge a Respawn Anchor. fuels_furnace_minecarts: Items which can be used to fuel a Furnace Minecart. blocks_enderman_stare: Items that do not anger Endermen when stared at and worn. repairs_leather: Items which can be used to repair leather equipment. repairs_wood: Items which can be used to repair wooden equipment. repairs_chainmail: Items which can be used to repair chainmail equipment. repairs_stone: Items which can be used to repair stone equipment. repairs_iron: Items which can be used to repair iron equipment. repairs_gold: Items which can be used to repair gold equipment. repairs_diamond: Items which can be used to repair diamond equipment. repairs_netherite: Items which can be used to repair netherite equipment. repairs_turtle: Items which can be used to repair Turtle Helmets.

Entity Type Tags

zoglin_ignores: Entities that are ignored by Zoglins. avoids_traps: Entities that do not activate traps such as Pressure Plates. projectiles_ignore: Entities which projectiles ignore collision with. collidable: Entities which can be stood on like Boats & Shulkers. warden_ignores: Entities which are ignored by the Warden. scares_creepers: Entities which Creepers run away from. tripwire_ignores: Entities which do not activate Tripwires. fishing_rod_cannot_hook: Entities which cannot be hooked by a Fishing Rod.

Enchantment Tags

Note: To check whether a Tag contains an Enchantment, see the following example:

world.getRegistryManager().getRegistryManager().get(RegistryKeys.ENCHANTMENT).getEntry(Enchantments.UNBREAKING).isIn(CreoEnchantmentTags.TREASURE);

The above example will return true if the Unbreaking enchantment is listed in the 'treasure' enchantment tag.


cursed: Enchantments that are considered Curses. treasure: Enchantments that are considered Treasures. not_offered_by_librarians: Enchantments that will not be offered by Librarian Villagers. not_randomly_selectable: Enchantments that will not be picked during random selection for Enchanted Books. grindstone_ignores: Enchantments that cannot be removed by Grindstones.

Status Effect Tags

Note: To check whether a Tag contains an Status Effect, see the following example:

world.getRegistryManager().get(RegistryKeys.STATUS_EFFECT).getEntry(StatusEffects.SLOWNESS).isIn(CreoStatusEffectTags.MILK_DOES_NOT_CURE);

The above example will return true if the Slowness status effect is listed in the 'milk_does_not_cure' status effect tag.


milk_does_not_cure: Status Effects which cannot be cured by Milk.

Last updated