Skip to content
538 changes: 538 additions & 0 deletions common/src/main/java/dev/architectury/tags/BiomeTags.java

Large diffs are not rendered by default.

752 changes: 752 additions & 0 deletions common/src/main/java/dev/architectury/tags/BlockTags.java

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions common/src/main/java/dev/architectury/tags/EnchantmentTags.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/*
* This file is part of architectury.
* Copyright (C) 2020, 2021, 2022 architectury
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

// AUTO GENERATED CLASS, DO NOT MANUALLY EDIT
package dev.architectury.tags;

import dev.architectury.injectables.annotations.ExpectPlatform;
import dev.architectury.injectables.annotations.PlatformOnly;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.enchantment.Enchantment;

/**
* Convention Tags for enchantments.<br>
* <b style="color:red;">WARNING! This class will not work on Forge!</b>
* @see net.fabricmc.fabric.api.tag.convention.v2.ConventionalEnchantmentTags
* @see net.neoforged.neoforge.common.Tags.Enchantments
*/
@SuppressWarnings("unused")
public class EnchantmentTags {
public static TagKey<Enchantment> INCREASE_BLOCK_DROPS = impl_INCREASE_BLOCK_DROPS();
public static TagKey<Enchantment> INCREASE_ENTITY_DROPS = impl_INCREASE_ENTITY_DROPS();
public static TagKey<Enchantment> WEAPON_DAMAGE_ENHANCEMENTS = impl_WEAPON_DAMAGE_ENHANCEMENTS();
public static TagKey<Enchantment> ENTITY_SPEED_ENHANCEMENTS = impl_ENTITY_SPEED_ENHANCEMENTS();
public static TagKey<Enchantment> ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS = impl_ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS();
public static TagKey<Enchantment> ENTITY_DEFENSE_ENHANCEMENTS = impl_ENTITY_DEFENSE_ENHANCEMENTS();
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_INCREASE_BLOCK_DROPS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_INCREASE_ENTITY_DROPS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_WEAPON_DAMAGE_ENHANCEMENTS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_ENTITY_SPEED_ENHANCEMENTS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Enchantment> impl_ENTITY_DEFENSE_ENHANCEMENTS() {
throw new AssertionError();
}
}
66 changes: 66 additions & 0 deletions common/src/main/java/dev/architectury/tags/EntityTypeTags.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* This file is part of architectury.
* Copyright (C) 2020, 2021, 2022 architectury
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

// AUTO GENERATED CLASS, DO NOT MANUALLY EDIT
package dev.architectury.tags;

import dev.architectury.injectables.annotations.ExpectPlatform;
import dev.architectury.injectables.annotations.PlatformOnly;
import net.minecraft.tags.TagKey;
import net.minecraft.world.entity.EntityType;

/**
* Convention Tags for entity types.<br>
* <b style="color:red;">WARNING! This class will not work on Forge!</b>
* @see net.fabricmc.fabric.api.tag.convention.v2.ConventionalEntityTypeTags
* @see net.neoforged.neoforge.common.Tags.EntityTypes
*/
@SuppressWarnings("unused")
public class EntityTypeTags {
public static TagKey<EntityType<?>> BOSSES = impl_BOSSES();
public static TagKey<EntityType<?>> MINECARTS = impl_MINECARTS();
public static TagKey<EntityType<?>> BOATS = impl_BOATS();
public static TagKey<EntityType<?>> CAPTURING_NOT_SUPPORTED = impl_CAPTURING_NOT_SUPPORTED();
public static TagKey<EntityType<?>> TELEPORTING_NOT_SUPPORTED = impl_TELEPORTING_NOT_SUPPORTED();
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<EntityType<?>> impl_BOSSES() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<EntityType<?>> impl_MINECARTS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<EntityType<?>> impl_BOATS() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<EntityType<?>> impl_CAPTURING_NOT_SUPPORTED() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<EntityType<?>> impl_TELEPORTING_NOT_SUPPORTED() {
throw new AssertionError();
}
}
114 changes: 114 additions & 0 deletions common/src/main/java/dev/architectury/tags/FluidTags.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/*
* This file is part of architectury.
* Copyright (C) 2020, 2021, 2022 architectury
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

// AUTO GENERATED CLASS, DO NOT MANUALLY EDIT
package dev.architectury.tags;

import dev.architectury.injectables.annotations.ExpectPlatform;
import dev.architectury.injectables.annotations.PlatformOnly;
import net.minecraft.tags.TagKey;
import net.minecraft.world.level.material.Fluid;

/**
* Convention Tags for fluids.<br>
* <b style="color:red;">WARNING! This class will not work on Forge!</b>
* @see net.fabricmc.fabric.api.tag.convention.v2.ConventionalFluidTags
* @see net.neoforged.neoforge.common.Tags.Fluids
*/
@SuppressWarnings("unused")
public class FluidTags {
public static TagKey<Fluid> LAVA = impl_LAVA();
public static TagKey<Fluid> WATER = impl_WATER();
public static TagKey<Fluid> MILK = impl_MILK();
public static TagKey<Fluid> HONEY = impl_HONEY();
public static TagKey<Fluid> HIDDEN_FROM_RECIPE_VIEWERS = impl_HIDDEN_FROM_RECIPE_VIEWERS();
// NeoForge only
public static TagKey<Fluid> GASEOUS = impl_GASEOUS();
// NeoForge only
public static TagKey<Fluid> POTION = impl_POTION();
// NeoForge only
public static TagKey<Fluid> SUSPICIOUS_STEW = impl_SUSPICIOUS_STEW();
// NeoForge only
public static TagKey<Fluid> MUSHROOM_STEW = impl_MUSHROOM_STEW();
// NeoForge only
public static TagKey<Fluid> RABBIT_STEW = impl_RABBIT_STEW();
// NeoForge only
public static TagKey<Fluid> BEETROOT_SOUP = impl_BEETROOT_SOUP();
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_LAVA() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_WATER() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_MILK() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_HONEY() {
throw new AssertionError();
}
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_HIDDEN_FROM_RECIPE_VIEWERS() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_GASEOUS() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_POTION() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_SUSPICIOUS_STEW() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_MUSHROOM_STEW() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_RABBIT_STEW() {
throw new AssertionError();
}
// Returns null on Fabric
@PlatformOnly({"fabric","neoforge"})
@ExpectPlatform
private static TagKey<Fluid> impl_BEETROOT_SOUP() {
throw new AssertionError();
}
}
Loading