Adopted new BCLib API
This commit is contained in:
parent
0f5d4e73fa
commit
6770bbbbea
84 changed files with 164 additions and 153 deletions
|
@ -1,8 +1,8 @@
|
|||
package org.betterx.betterend.integration;
|
||||
|
||||
import org.betterx.bclib.api.v2.tag.TagAPI;
|
||||
import org.betterx.bclib.integration.ModIntegration;
|
||||
import org.betterx.betterend.registry.EndItems;
|
||||
import org.betterx.worlds.together.tag.v3.TagManager;
|
||||
|
||||
import net.minecraft.tags.TagKey;
|
||||
import net.minecraft.world.item.Item;
|
||||
|
@ -19,8 +19,8 @@ public class NourishIntegration extends ModIntegration {
|
|||
TagKey<Item> protein = getItemTag("protein");
|
||||
TagKey<Item> sweets = getItemTag("sweets");
|
||||
|
||||
TagAPI.addItemTag(fats, EndItems.END_FISH_RAW, EndItems.END_FISH_COOKED);
|
||||
TagAPI.addItemTag(
|
||||
TagManager.ITEMS.add(fats, EndItems.END_FISH_RAW, EndItems.END_FISH_COOKED);
|
||||
TagManager.ITEMS.add(
|
||||
fruit,
|
||||
EndItems.SHADOW_BERRY_RAW,
|
||||
EndItems.SHADOW_BERRY_COOKED,
|
||||
|
@ -33,7 +33,7 @@ public class NourishIntegration extends ModIntegration {
|
|||
EndItems.CHORUS_MUSHROOM_COOKED,
|
||||
EndItems.BOLUX_MUSHROOM_COOKED
|
||||
);
|
||||
TagAPI.addItemTag(
|
||||
TagManager.ITEMS.add(
|
||||
protein,
|
||||
EndItems.END_FISH_RAW,
|
||||
EndItems.END_FISH_COOKED,
|
||||
|
@ -41,7 +41,7 @@ public class NourishIntegration extends ModIntegration {
|
|||
EndItems.BOLUX_MUSHROOM_COOKED,
|
||||
EndItems.CAVE_PUMPKIN_PIE
|
||||
);
|
||||
TagAPI.addItemTag(
|
||||
TagManager.ITEMS.add(
|
||||
sweets,
|
||||
EndItems.SHADOW_BERRY_JELLY,
|
||||
EndItems.SWEET_BERRY_JELLY,
|
||||
|
|
|
@ -12,7 +12,7 @@ public class BYGIntegration extends ModIntegration implements EndBiomeIntegratio
|
|||
public void init() {
|
||||
/*Block block = Integrations.BYG.getBlock("ivis_phylium");
|
||||
if (block != null) {
|
||||
TagAPI.addTags(block, CommonBlockTags.END_STONES, CommonBlockTags.GEN_END_STONES);
|
||||
TagManager.addTags(block, CommonBlockTags.END_STONES, CommonBlockTags.GEN_END_STONES);
|
||||
}
|
||||
BYGBlocks.register();
|
||||
BYGFeatures.register();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package org.betterx.betterend.integration.byg.features;
|
||||
|
||||
import org.betterx.bclib.api.v2.levelgen.features.features.DefaultFeature;
|
||||
import org.betterx.bclib.api.v2.tag.CommonBlockTags;
|
||||
import org.betterx.bclib.sdf.SDF;
|
||||
import org.betterx.bclib.util.MHelper;
|
||||
import org.betterx.bclib.util.SplineHelper;
|
||||
import org.betterx.betterend.integration.Integrations;
|
||||
import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
||||
|
||||
import com.mojang.math.Vector3f;
|
||||
import net.minecraft.core.BlockPos;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package org.betterx.betterend.integration.byg.features;
|
||||
|
||||
import org.betterx.bclib.api.v2.levelgen.features.features.DefaultFeature;
|
||||
import org.betterx.bclib.api.v2.tag.CommonBlockTags;
|
||||
import org.betterx.bclib.sdf.PosInfo;
|
||||
import org.betterx.bclib.sdf.SDF;
|
||||
import org.betterx.bclib.sdf.operator.SDFDisplacement;
|
||||
|
@ -13,6 +12,7 @@ import org.betterx.bclib.util.BlocksHelper;
|
|||
import org.betterx.bclib.util.MHelper;
|
||||
import org.betterx.bclib.util.SplineHelper;
|
||||
import org.betterx.betterend.integration.Integrations;
|
||||
import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
||||
|
||||
import com.mojang.math.Vector3f;
|
||||
import net.minecraft.core.BlockPos;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package org.betterx.betterend.integration.byg.features;
|
||||
|
||||
import org.betterx.bclib.api.v2.levelgen.features.features.DefaultFeature;
|
||||
import org.betterx.bclib.api.v2.tag.CommonBlockTags;
|
||||
import org.betterx.bclib.sdf.SDF;
|
||||
import org.betterx.bclib.sdf.operator.SDFDisplacement;
|
||||
import org.betterx.bclib.sdf.operator.SDFSubtraction;
|
||||
|
@ -12,6 +11,7 @@ import org.betterx.bclib.util.MHelper;
|
|||
import org.betterx.bclib.util.SplineHelper;
|
||||
import org.betterx.betterend.integration.Integrations;
|
||||
import org.betterx.betterend.noise.OpenSimplexNoise;
|
||||
import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
||||
|
||||
import com.mojang.math.Vector3f;
|
||||
import net.minecraft.core.BlockPos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue