Fixed annotations for Named Tags

This commit is contained in:
Frank 2022-06-25 20:54:21 +02:00
parent 35918240f9
commit 08d155c4d3
2 changed files with 128 additions and 0 deletions

View file

@ -9,14 +9,50 @@ import net.minecraft.world.level.block.Block;
*/
@Deprecated(forRemoval = true)
public class NamedBlockTags {
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#ANVIL}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> ANVIL = BlockTags.ANVIL;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#BUTTONS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> BUTTONS = BlockTags.BUTTONS;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#CLIMBABLE}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> CLIMBABLE = BlockTags.CLIMBABLE;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#DOORS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> DOORS = BlockTags.DOORS;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#FENCES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> FENCES = BlockTags.FENCES;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#FENCE_GATES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> FENCE_GATES = BlockTags.FENCE_GATES;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#LEAVES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> LEAVES = BlockTags.LEAVES;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#LOGS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> LOGS = BlockTags.LOGS;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#LOGS_THAT_BURN}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Block> LOGS_THAT_BURN = BlockTags.LOGS_THAT_BURN;
/**
* @deprecated replaced by {@link net.minecraft.tags.BlockTags#NYLIUM}

View file

@ -10,27 +10,119 @@ import net.minecraft.world.item.Item;
*/
@Deprecated(forRemoval = true)
public class NamedItemTags {
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#BUTTONS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> BUTTONS = ItemTags.BUTTONS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#DOORS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> DOORS = ItemTags.DOORS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#FENCES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> FENCES = ItemTags.FENCES;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#LEAVES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> LEAVES = ItemTags.LEAVES;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#LOGS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> LOGS = ItemTags.LOGS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#LOGS_THAT_BURN}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> LOGS_THAT_BURN = ItemTags.LOGS_THAT_BURN;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#PLANKS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> PLANKS = ItemTags.PLANKS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#SAPLINGS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> SAPLINGS = ItemTags.SAPLINGS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#SIGNS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> SIGNS = ItemTags.SIGNS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#SLABS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> SLABS = ItemTags.SLABS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#STAIRS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> STAIRS = ItemTags.STAIRS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#TRAPDOORS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> TRAPDOORS = ItemTags.TRAPDOORS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_BUTTONS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_BUTTONS = ItemTags.WOODEN_BUTTONS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_DOORS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_DOORS = ItemTags.WOODEN_DOORS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_FENCES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_FENCES = ItemTags.WOODEN_FENCES;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_PRESSURE_PLATES}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_PRESSURE_PLATES = ItemTags.WOODEN_PRESSURE_PLATES;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_SLABS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_SLABS = ItemTags.WOODEN_SLABS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_STAIRS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_STAIRS = ItemTags.WOODEN_STAIRS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#WOODEN_TRAPDOORS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> WOODEN_TRAPDOORS = ItemTags.WOODEN_TRAPDOORS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#BEACON_PAYMENT_ITEMS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> BEACON_PAYMENT_ITEMS = ItemTags.BEACON_PAYMENT_ITEMS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#STONE_BRICKS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> STONE_BRICKS = ItemTags.STONE_BRICKS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#STONE_CRAFTING_MATERIALS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> STONE_CRAFTING_MATERIALS = ItemTags.STONE_CRAFTING_MATERIALS;
/**
* @deprecated replaced by {@link net.minecraft.tags.ItemTags#STONE_TOOL_MATERIALS}
**/
@Deprecated(forRemoval = true)
public static final TagKey<Item> STONE_TOOL_MATERIALS = ItemTags.STONE_TOOL_MATERIALS;
}