More updates to new BoneMealAPI
This commit is contained in:
parent
5b99e0be53
commit
5faf0ef134
18 changed files with 411 additions and 155 deletions
|
@ -35,12 +35,7 @@ public class CommonBlockTags {
|
|||
public static final TagKey<Block> TERRAIN = TagManager.BLOCKS.makeCommonTag("terrain");
|
||||
public static final TagKey<Block> NETHER_TERRAIN = TagManager.BLOCKS.makeCommonTag("nether_terrain");
|
||||
|
||||
public static final TagKey<Block> NETHERRACK_SPREADABLE = TagManager.BLOCKS.makeCommonTag(
|
||||
"netherrack_spreadable");
|
||||
|
||||
static void prepareTags() {
|
||||
TagManager.BLOCKS.add(NETHERRACK_SPREADABLE, Blocks.WARPED_NYLIUM, Blocks.CRIMSON_NYLIUM);
|
||||
|
||||
TagManager.BLOCKS.add(SCULK_LIKE, Blocks.SCULK);
|
||||
TagManager.BLOCKS.addOtherTags(DRAGON_IMMUNE, BlockTags.DRAGON_IMMUNE);
|
||||
|
||||
|
|
|
@ -205,6 +205,10 @@ public class TagRegistry<T> {
|
|||
return creatTagKey(new ResourceLocation("c", name));
|
||||
}
|
||||
|
||||
public TagKey<T> makeTogetherTag(String name) {
|
||||
return creatTagKey(WorldsTogether.makeID(name));
|
||||
}
|
||||
|
||||
public void addUntyped(TagKey<T> tagID, ResourceLocation... elements) {
|
||||
if (isFrozen) WorldsTogether.LOGGER.warning("Adding Tag " + tagID + " after the API was frozen.");
|
||||
Set<TagEntry> set = getSetForTag(tagID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue