1.21.5
Co-authored-by: Bjarne Koll <git@lynxplay.dev> Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Co-authored-by: MiniDigger | Martin <admin@minidigger.dev> Co-authored-by: Nassim Jahnke <nassim@njahnke.dev> Co-authored-by: Noah van der Aa <ndvdaa@gmail.com> Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Co-authored-by: Shane Freeder <theboyetronic@gmail.com> Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com> Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com> Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import io.papermc.paper.FeatureHooks;
|
||||
import io.papermc.paper.configuration.constraint.Constraints;
|
||||
import io.papermc.paper.configuration.type.number.DoubleOr;
|
||||
import io.papermc.paper.configuration.type.number.IntOr;
|
||||
import io.papermc.paper.util.ItemObfuscationBinding;
|
||||
import io.papermc.paper.util.sanitizer.ItemObfuscationBinding;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.NamedTextColor;
|
||||
import net.minecraft.core.component.DataComponents;
|
||||
|
||||
@@ -52,6 +52,7 @@ import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.world.level.NaturalSpawner;
|
||||
import net.minecraft.world.level.block.BambooStalkBlock;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.levelgen.feature.ConfiguredFeature;
|
||||
@@ -169,7 +170,7 @@ public class WorldConfiguration extends ConfigurationPart {
|
||||
public ArrowDespawnRate nonPlayerArrowDespawnRate = ArrowDespawnRate.def(WorldConfiguration.this.spigotConfig);
|
||||
public ArrowDespawnRate creativeArrowDespawnRate = ArrowDespawnRate.def(WorldConfiguration.this.spigotConfig);
|
||||
public boolean filterBadTileEntityNbtFromFallingBlocks = true;
|
||||
public List<NbtPathArgument.NbtPath> filteredEntityTagNbtPaths = NbtPathSerializer.fromString(List.of("Pos", "Motion", "SleepingX", "SleepingY", "SleepingZ"));
|
||||
public List<NbtPathArgument.NbtPath> filteredEntityTagNbtPaths = NbtPathSerializer.fromString(List.of("Pos", "Motion", "sleeping_pos"));
|
||||
public boolean disableMobSpawnerSpawnEggTransformation = false;
|
||||
public boolean perPlayerMobSpawns = true;
|
||||
public boolean scanForLegacyEnderDragon = true;
|
||||
@@ -236,7 +237,7 @@ public class WorldConfiguration extends ConfigurationPart {
|
||||
|
||||
public class WanderingTrader extends ConfigurationPart {
|
||||
public int spawnMinuteLength = 1200;
|
||||
public int spawnDayLength = 24000;
|
||||
public int spawnDayLength = net.minecraft.world.entity.npc.WanderingTraderSpawner.DEFAULT_SPAWN_DELAY;
|
||||
public int spawnChanceFailureIncrement = 25;
|
||||
public int spawnChanceMin = 25;
|
||||
public int spawnChanceMax = 75;
|
||||
@@ -389,7 +390,7 @@ public class WorldConfiguration extends ConfigurationPart {
|
||||
public Bamboo bamboo;
|
||||
|
||||
public class Bamboo extends ConfigurationPart {
|
||||
public int max = 16;
|
||||
public int max = BambooStalkBlock.MAX_HEIGHT;
|
||||
public int min = 11;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user