1.18 ayutac datagen4 (#2769)
* Added dust crafting data gen. Generation works, but how do I get TR to recognize the existence of the new stuff? * Added generic armor and tools to the datagen. Also resolved conflicts from the merge with recently changed datagen * Fixed copy-paste error by accident for second ingredient first would be taken again * automatized tag generation * fixed lingering bugs from previous commit * much much more gen, for about 269 files * wrongly deleted recipes in last commit * Added rest of the decorative storage block variants to datagen
This commit is contained in:
parent
9f5a616b15
commit
0a5be13901
693 changed files with 840 additions and 7715 deletions
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* This file is part of RebornCore, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) 2021 TeamReborn
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package reborncore.common.misc;
|
||||
|
||||
import net.minecraft.tag.Tag;
|
||||
|
||||
/**
|
||||
* Tells if an item, block etc. has a tag solely for compatibility with other mods.
|
||||
* For example, several mods have bronze ingots, so TechReborn will tag its bronze ingot with a common tag.
|
||||
* @param <T> The type of the object, like {@link net.minecraft.item.Item} or {@link net.minecraft.block.Block}.
|
||||
*/
|
||||
public interface TagConvertible<T> {
|
||||
|
||||
/**
|
||||
* Returns the common tag of this object.
|
||||
* @return the common tag of this object
|
||||
*/
|
||||
Tag.Identified<T> asTag();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue