Disabled REI as it crashes with release 1.19
This commit is contained in:
parent
29d99fecfe
commit
4d152c596e
2 changed files with 7 additions and 1 deletions
|
@ -16,6 +16,7 @@ import com.google.common.collect.Sets;
|
|||
import org.betterx.bclib.BCLib;
|
||||
import org.betterx.bclib.api.v2.levelgen.biomes.InternalBiomeAPI;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
@ -106,6 +107,9 @@ public class TagType<T> {
|
|||
}
|
||||
|
||||
public Set<TagEntry> getSetForTag(TagKey<T> tag) {
|
||||
if (tag==null) {
|
||||
return new HashSet<>();
|
||||
}
|
||||
return getSetForTag(tag.location());
|
||||
}
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ import net.minecraft.world.level.levelgen.structure.placement.RandomSpreadType;
|
|||
|
||||
import com.mojang.serialization.Codec;
|
||||
import org.betterx.bclib.api.v2.levelgen.structures.BCLStructureBuilder;
|
||||
import org.betterx.bclib.api.v2.tag.TagAPI;
|
||||
import org.betterx.bclib.util.MHelper;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
@ -63,7 +64,8 @@ public class BCLStructure<S extends Structure> extends org.betterx.bclib.api.v2.
|
|||
separation,
|
||||
adaptNoise,
|
||||
Structure.simpleCodec(structureBuilder),
|
||||
null);
|
||||
TagAPI.makeStructureTag(id.getNamespace(), id.getPath())
|
||||
);
|
||||
}
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue