Fixed Compiletime issue
This commit is contained in:
parent
fd2559e038
commit
a8856fff15
94 changed files with 562 additions and 574 deletions
|
@ -50,17 +50,17 @@ public class NightshadeRedwoods extends EndBiome.Config {
|
|||
.feature(BYGFeatures.NIGHTSHADE_MOSS);
|
||||
|
||||
if (BCLib.isClient()) {
|
||||
SoundEvent loop = effects.getAmbientLoopSoundEvent()
|
||||
.get();
|
||||
SoundEvent music = effects.getBackgroundMusic()
|
||||
.get()
|
||||
.getEvent();
|
||||
SoundEvent additions = effects.getAmbientAdditionsSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
SoundEvent mood = effects.getAmbientMoodSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
Holder<SoundEvent> loop = effects.getAmbientLoopSoundEvent()
|
||||
.get();
|
||||
Holder<SoundEvent> music = effects.getBackgroundMusic()
|
||||
.get()
|
||||
.getEvent();
|
||||
Holder<SoundEvent> additions = effects.getAmbientAdditionsSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
Holder<SoundEvent> mood = effects.getAmbientMoodSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
builder.loop(loop)
|
||||
.music(music)
|
||||
.additions(additions)
|
||||
|
|
|
@ -51,17 +51,17 @@ public class OldBulbisGardens extends EndBiome.Config {
|
|||
.feature(BYGFeatures.OLD_BULBIS_TREE);
|
||||
|
||||
if (BCLib.isClient()) {
|
||||
SoundEvent loop = effects.getAmbientLoopSoundEvent()
|
||||
.get();
|
||||
SoundEvent music = effects.getBackgroundMusic()
|
||||
.get()
|
||||
.getEvent();
|
||||
SoundEvent additions = effects.getAmbientAdditionsSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
SoundEvent mood = effects.getAmbientMoodSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
Holder<SoundEvent> loop = effects.getAmbientLoopSoundEvent()
|
||||
.get();
|
||||
Holder<SoundEvent> music = effects.getBackgroundMusic()
|
||||
.get()
|
||||
.getEvent();
|
||||
Holder<SoundEvent> additions = effects.getAmbientAdditionsSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
Holder<SoundEvent> mood = effects.getAmbientMoodSettings()
|
||||
.get()
|
||||
.getSoundEvent();
|
||||
builder.loop(loop)
|
||||
.music(music)
|
||||
.additions(additions)
|
||||
|
|
|
@ -100,12 +100,12 @@ public class BYGFeatures {
|
|||
return BCLFeatureBuilder
|
||||
.start(id, feature)
|
||||
.configuration(config)
|
||||
.buildAndRegister()
|
||||
.build()
|
||||
.place()
|
||||
.countMax(density)
|
||||
.squarePlacement()
|
||||
.heightmap()
|
||||
.onlyInBiome()
|
||||
.buildAndRegister();
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@ 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;
|
||||
import net.minecraft.util.RandomSource;
|
||||
import net.minecraft.world.level.WorldGenLevel;
|
||||
|
@ -17,6 +16,7 @@ import net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConf
|
|||
import net.minecraft.world.level.material.Material;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
import org.joml.Vector3f;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ 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;
|
||||
import net.minecraft.core.BlockPos.MutableBlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
|
@ -29,6 +28,7 @@ import net.minecraft.world.level.material.Material;
|
|||
|
||||
import com.google.common.base.Function;
|
||||
import com.google.common.collect.Lists;
|
||||
import org.joml.Vector3f;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ 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;
|
||||
import net.minecraft.util.Mth;
|
||||
import net.minecraft.util.RandomSource;
|
||||
|
@ -26,6 +25,7 @@ import net.minecraft.world.level.material.Material;
|
|||
import net.minecraft.world.phys.AABB;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import org.joml.Vector3f;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue