Add Composters as Farmer Workstations

This commit is contained in:
Frank 2022-07-29 13:21:01 +02:00
parent 0e8f9f6f8c
commit 47a744cf23
4 changed files with 18 additions and 9 deletions

View file

@ -2,11 +2,14 @@ package org.betterx.worlds.together.tag.v3;
import net.minecraft.tags.TagKey;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
public class CommonPoiTags {
public static final TagKey<Block> FISHERMAN_WORKSTATION = TagManager.BLOCKS.makeCommonTag("workstation/fisherman");
public static final TagKey<Block> FARMER_WORKSTATION = TagManager.BLOCKS.makeCommonTag("workstation/farmer");
static {
TagManager.BLOCKS.addOtherTags(FISHERMAN_WORKSTATION, CommonBlockTags.BARREL, CommonBlockTags.WOODEN_BARREL);
TagManager.BLOCKS.add(FARMER_WORKSTATION, Blocks.COMPOSTER);
}
}