Archive 3kh0-eaglercraft-1-8 (source, 1.8.8, clean-with-notes)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 8 @ 8 : 12
|
||||
|
||||
> CHANGE 77 : 78 @ 77 : 78
|
||||
|
||||
~ return Chunk.getNoSkyLightValue();
|
||||
|
||||
> CHANGE 4 : 8 @ 4 : 6
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ BlockPos tmp = new BlockPos(0, 0, 0);
|
||||
~ for (int i = 0; i < facings.length; ++i) {
|
||||
~ int k = this.getLightFor(pos, parBlockPos.offsetEvenFaster(facings[i], tmp));
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 6 : 7 @ 6 : 7
|
||||
|
||||
~ private static final EnumDifficulty[] difficultyEnums = new EnumDifficulty[4];
|
||||
|
||||
> CHANGE 21 : 24 @ 21 : 23
|
||||
|
||||
~ EnumDifficulty[] types = values();
|
||||
~ for (int i = 0; i < types.length; ++i) {
|
||||
~ difficultyEnums[types[i].difficultyId] = types[i];
|
||||
|
||||
> EOF
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 5
|
||||
|
||||
> CHANGE 3 : 9 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
~
|
||||
~ import com.google.common.collect.Lists;
|
||||
~ import com.google.common.collect.Maps;
|
||||
~ import com.google.common.collect.Sets;
|
||||
~
|
||||
|
||||
> INSERT 12 : 13 @ 12
|
||||
|
||||
+ import net.minecraft.util.EnumFacing;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ private final EaglercraftRandom explosionRNG;
|
||||
|
||||
> CHANGE 22 : 23 @ 22 : 23
|
||||
|
||||
~ this.explosionRNG = new EaglercraftRandom();
|
||||
|
||||
> CHANGE 112 : 114 @ 112 : 113
|
||||
|
||||
~ for (int i = 0, l = this.affectedBlockPositions.size(); i < l; ++i) {
|
||||
~ BlockPos blockpos = this.affectedBlockPositions.get(i);
|
||||
|
||||
> CHANGE 36 : 41 @ 36 : 39
|
||||
|
||||
~ BlockPos tmp = new BlockPos(0, 0, 0);
|
||||
~ for (int i = 0, l = this.affectedBlockPositions.size(); i < l; ++i) {
|
||||
~ BlockPos blockpos1 = this.affectedBlockPositions.get(i);
|
||||
~ if (this.worldObj.getBlockState(blockpos1).getBlock().getMaterial() == Material.air && this.worldObj
|
||||
~ .getBlockState(blockpos1.offsetEvenFaster(EnumFacing.DOWN, tmp)).getBlock().isFullBlock()
|
||||
|
||||
> EOF
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 4 : 5 @ 4
|
||||
|
||||
+
|
||||
|
||||
> INSERT 21 : 27 @ 21
|
||||
|
||||
+ this.addGameRule("loadSpawnChunks", "false", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
+ this.addGameRule("bedSpawnPoint", "true", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
+ this.addGameRule("clickToRide", "false", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
+ this.addGameRule("clickToSit", "true", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
+ this.addGameRule("colorCodes", "true", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
+ this.addGameRule("doSignEditing", "true", GameRules.ValueType.BOOLEAN_VALUE);
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 5
|
||||
|
||||
> EOF
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 3 : 4 @ 3
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 1 : 4 @ 1 : 2
|
||||
|
||||
~
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EagRuntime;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> INSERT 2 : 3 @ 2
|
||||
|
||||
+ import net.minecraft.entity.EntityList;
|
||||
|
||||
> DELETE 9 @ 9 : 12
|
||||
|
||||
> CHANGE 15 : 18 @ 15 : 16
|
||||
|
||||
~ List<EntityPlayer> lst = spawnHostileMobs.playerEntities;
|
||||
~ for (int m = 0, n = lst.size(); m < n; ++m) {
|
||||
~ EntityPlayer entityplayer = lst.get(m);
|
||||
|
||||
> CHANGE 9 : 12 @ 9 : 10
|
||||
|
||||
~ if (!this.eligibleChunksForSpawning.contains(chunkcoordintpair)
|
||||
~ && spawnHostileMobs.theChunkProviderServer.chunkExists(chunkcoordintpair.chunkXPos,
|
||||
~ chunkcoordintpair.chunkZPos)) {
|
||||
|
||||
> CHANGE 13 : 16 @ 13 : 14
|
||||
|
||||
~ EnumCreatureType[] types = EnumCreatureType._VALUES;
|
||||
~ for (int m = 0; m < types.length; ++m) {
|
||||
~ EnumCreatureType enumcreaturetype = types[m];
|
||||
|
||||
> CHANGE 51 : 53 @ 51 : 54
|
||||
|
||||
~ entityliving = (EntityLiving) EntityList.createEntityByClassUnsafe(
|
||||
~ biomegenbase$spawnlistentry.entityClass, spawnHostileMobs);
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ EagRuntime.debugPrintStackTrace(exception);
|
||||
|
||||
> CHANGE 70 : 71 @ 70 : 71
|
||||
|
||||
~ int parInt3, int parInt4, EaglercraftRandom parRandom) {
|
||||
|
||||
> CHANGE 22 : 24 @ 22 : 25
|
||||
|
||||
~ entityliving = (EntityLiving) EntityList
|
||||
~ .createEntityByClass(biomegenbase$spawnlistentry.entityClass, worldIn);
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ EagRuntime.debugPrintStackTrace(exception);
|
||||
|
||||
> EOF
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 9 @ 9 : 11
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ private final EaglercraftRandom random;
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ this.random = new EaglercraftRandom(worldIn.getSeed(), !worldIn.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> EOF
|
||||
@@ -0,0 +1,153 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 5 : 6 @ 5
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 5 : 8 @ 5 : 6
|
||||
|
||||
~
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EagRuntime;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 1 : 4 @ 1 : 2
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftUUID;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.HString;
|
||||
~
|
||||
|
||||
> INSERT 1 : 2 @ 1
|
||||
|
||||
+
|
||||
|
||||
> DELETE 32 @ 32 : 46
|
||||
|
||||
> CHANGE 24 : 25 @ 24 : 25
|
||||
|
||||
~ protected int updateLCG = (new EaglercraftRandom()).nextInt();
|
||||
|
||||
> CHANGE 6 : 7 @ 6 : 7
|
||||
|
||||
~ public final EaglercraftRandom rand = new EaglercraftRandom();
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ private final Calendar theCalendar = EagRuntime.getLocaleCalendar();
|
||||
|
||||
> DELETE 1 @ 1 : 2
|
||||
|
||||
> INSERT 7 : 8 @ 7
|
||||
|
||||
+ public final boolean isRemote;
|
||||
|
||||
> DELETE 11 @ 11 : 12
|
||||
|
||||
> INSERT 1 : 2 @ 1
|
||||
|
||||
+ this.isRemote = client;
|
||||
|
||||
> CHANGE 17 : 19 @ 17 : 18
|
||||
|
||||
~ return CrashReportCategory
|
||||
~ .getCoordinateInfo(new net.minecraft.util.BlockPos(pos.getX(), pos.getY(), pos.getZ()));
|
||||
|
||||
> CHANGE 257 : 258 @ 257 : 258
|
||||
|
||||
~ return HString.format("ID #%d (%s // %s)",
|
||||
|
||||
> CHANGE 128 : 129 @ 128 : 129
|
||||
|
||||
~ return Chunk.getNoSkyLightValue();
|
||||
|
||||
> CHANGE 74 : 80 @ 74 : 75
|
||||
|
||||
~ if (lightValue < 0) {
|
||||
~ j += -lightValue;
|
||||
~ if (j > 15) {
|
||||
~ j = 15;
|
||||
~ }
|
||||
~ } else if (j < lightValue) {
|
||||
|
||||
> CHANGE 1224 : 1225 @ 1224 : 1225
|
||||
|
||||
~ this.worldInfo.setThunderTime((this.rand.nextInt(12000) / 2) + 3600);
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ this.worldInfo.setThunderTime((this.rand.nextInt(168000) + 12000) * 2);
|
||||
|
||||
> CHANGE 20 : 21 @ 20 : 21
|
||||
|
||||
~ this.worldInfo.setRainTime((this.rand.nextInt(12000) + 12000) / 2);
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ this.worldInfo.setRainTime((this.rand.nextInt(168000) + 12000) * 2);
|
||||
|
||||
> CHANGE 91 : 92 @ 91 : 92
|
||||
|
||||
~ public void forceBlockUpdateTick(Block blockType, BlockPos pos, EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 93 : 96 @ 93 : 94
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ EnumFacing enumfacing = facings[m];
|
||||
|
||||
> CHANGE 50 : 53 @ 50 : 51
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ EnumFacing enumfacing = facings[m];
|
||||
|
||||
> CHANGE 117 : 120 @ 117 : 119
|
||||
|
||||
~ for (int i = 0, l = this.loadedEntityList.size(); i < l; ++i) {
|
||||
~ Entity entity = this.loadedEntityList.get(i);
|
||||
~ if (entityType.isAssignableFrom(entity.getClass()) && filter.apply((T) entity)) {
|
||||
|
||||
> CHANGE 10 : 13 @ 10 : 12
|
||||
|
||||
~ for (int i = 0, l = this.playerEntities.size(); i < l; ++i) {
|
||||
~ Entity entity = this.playerEntities.get(i);
|
||||
~ if (playerType.isAssignableFrom(entity.getClass()) && filter.apply((T) entity)) {
|
||||
|
||||
> CHANGE 68 : 70 @ 68 : 69
|
||||
|
||||
~ for (int j = 0, l = this.loadedEntityList.size(); j < l; ++j) {
|
||||
~ Entity entity = this.loadedEntityList.get(j);
|
||||
|
||||
> CHANGE 102 : 107 @ 102 : 104
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ BlockPos tmp = new BlockPos(0, 0, 0);
|
||||
~ for (int k = 0; k < facings.length; ++k) {
|
||||
~ EnumFacing enumfacing = facings[k];
|
||||
~ int j = this.getRedstonePower(pos.offsetEvenFaster(enumfacing, tmp), enumfacing);
|
||||
|
||||
> CHANGE 59 : 60 @ 59 : 60
|
||||
|
||||
~ public EntityPlayer getPlayerEntityByUUID(EaglercraftUUID uuid) {
|
||||
|
||||
> CHANGE 197 : 198 @ 197 : 198
|
||||
|
||||
~ public EaglercraftRandom setRandomSeed(int parInt1, int parInt2, int parInt3) {
|
||||
|
||||
> CHANGE 67 : 70 @ 67 : 68
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int i = 0; i < facings.length; ++i) {
|
||||
~ EnumFacing enumfacing = facings[i];
|
||||
|
||||
> INSERT 61 : 64 @ 61
|
||||
|
||||
+ if (!MinecraftServer.getServer().worldServers[0].getWorldInfo().getGameRulesInstance()
|
||||
+ .getBoolean("loadSpawnChunks"))
|
||||
+ return false;
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 10 @ 10 : 12
|
||||
|
||||
> EOF
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 6 @ 6 : 11
|
||||
|
||||
> INSERT 83 : 84 @ 83
|
||||
|
||||
+ float f2 = f;
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ f = f2 + (f - f2) / 3.0F;
|
||||
|
||||
> CHANGE 14 : 15 @ 14 : 15
|
||||
|
||||
~ float f2 = 0.0F;
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 4
|
||||
|
||||
> EOF
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftUUID;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.sp.server.EaglerMinecraftServer;
|
||||
|
||||
> DELETE 42 @ 42 : 53
|
||||
|
||||
> CHANGE 12 : 14 @ 12 : 14
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ private final Map<EaglercraftUUID, Entity> entitiesByUuid = Maps.newHashMap();
|
||||
|
||||
> CHANGE 143 : 145 @ 143 : 144
|
||||
|
||||
~ for (int k = 0, l = this.playerEntities.size(); k < l; ++k) {
|
||||
~ EntityPlayer entityplayer = this.playerEntities.get(k);
|
||||
|
||||
> CHANGE 15 : 17 @ 15 : 16
|
||||
|
||||
~ for (int k = 0, l = this.playerEntities.size(); k < l; ++k) {
|
||||
~ EntityPlayer entityplayer = this.playerEntities.get(k);
|
||||
|
||||
> CHANGE 16 : 19 @ 16 : 18
|
||||
|
||||
~ if (this.allPlayersSleeping) {
|
||||
~ for (int k = 0, l = this.playerEntities.size(); k < l; ++k) {
|
||||
~ EntityPlayer entityplayer = this.playerEntities.get(k);
|
||||
|
||||
> CHANGE 88 : 91 @ 88 : 89
|
||||
|
||||
~ ExtendedBlockStorage[] vigg = chunk.getBlockStorageArray();
|
||||
~ for (int m = 0; m < vigg.length; ++m) {
|
||||
~ ExtendedBlockStorage extendedblockstorage = vigg[m];
|
||||
|
||||
> INSERT 15 : 16 @ 15
|
||||
|
||||
+ ++EaglerMinecraftServer.counterTileUpdate;
|
||||
|
||||
> INSERT 47 : 48 @ 47
|
||||
|
||||
+ ++EaglerMinecraftServer.counterTileUpdate;
|
||||
|
||||
> INSERT 95 : 96 @ 95
|
||||
|
||||
+ ++EaglerMinecraftServer.counterTileUpdate;
|
||||
|
||||
> CHANGE 160 : 161 @ 160 : 161
|
||||
|
||||
~ EaglercraftRandom random = new EaglercraftRandom(this.getSeed());
|
||||
|
||||
> CHANGE 62 : 65 @ 62 : 63
|
||||
|
||||
~ List<Chunk> lst = Lists.newArrayList(this.theChunkProviderServer.func_152380_a());
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ Chunk chunk = lst.get(i);
|
||||
|
||||
> CHANGE 79 : 82 @ 79 : 80
|
||||
|
||||
~ List<EntityPlayer> lst = this.playerEntities;
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ EntityPlayer entityplayer = lst.get(i);
|
||||
|
||||
> CHANGE 13 : 16 @ 13 : 15
|
||||
|
||||
~ ServerBlockEventList lst = this.field_147490_S[this.blockEventCacheIndex];
|
||||
~ for (int k = 0, l = lst.size(); k < l; ++k) {
|
||||
~ if (lst.get(k).equals(blockeventdata)) {
|
||||
|
||||
> CHANGE 12 : 15 @ 12 : 13
|
||||
|
||||
~ ServerBlockEventList lst = this.field_147490_S[i];
|
||||
~ for (int k = 0, l = lst.size(); k < l; ++k) {
|
||||
~ BlockEventData blockeventdata = lst.get(k);
|
||||
|
||||
> CHANGE 97 : 98 @ 97 : 98
|
||||
|
||||
~ public Entity getEntityFromUuid(EaglercraftUUID uuid) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 5
|
||||
|
||||
~ public void addScheduledTask(Runnable runnable) {
|
||||
~ this.mcServer.addScheduledTask(runnable);
|
||||
|
||||
> DELETE 2 @ 2 : 6
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 5 @ 5 : 8
|
||||
|
||||
> EOF
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> INSERT 82 : 84 @ 82
|
||||
|
||||
+ public static final GameType[] _VALUES = values();
|
||||
+
|
||||
|
||||
> CHANGE 49 : 52 @ 49 : 50
|
||||
|
||||
~ WorldSettings.GameType[] types = _VALUES;
|
||||
~ for (int i = 0; i < types.length; ++i) {
|
||||
~ WorldSettings.GameType worldsettings$gametype = types[i];
|
||||
|
||||
> CHANGE 9 : 12 @ 9 : 10
|
||||
|
||||
~ WorldSettings.GameType[] types = _VALUES;
|
||||
~ for (int i = 0; i < types.length; ++i) {
|
||||
~ WorldSettings.GameType worldsettings$gametype = types[i];
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 6 @ 6 : 8
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> EOF
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> INSERT 17 : 18 @ 17
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ protected EaglercraftRandom randomGenerator;
|
||||
|
||||
> CHANGE 38 : 39 @ 38 : 39
|
||||
|
||||
~ public void decorate(World worldIn, EaglercraftRandom random, BiomeGenBase parBiomeGenBase, BlockPos parBlockPos) {
|
||||
|
||||
> EOF
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 4 @ 4 : 6
|
||||
|
||||
> INSERT 4 : 5 @ 4
|
||||
|
||||
+
|
||||
|
||||
> EOF
|
||||
+187
@@ -0,0 +1,187 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 5 : 6 @ 5
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 29 @ 29 : 48
|
||||
|
||||
> CHANGE 9 : 11 @ 9 : 11
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
|
||||
> CHANGE 19 : 63 @ 19 : 110
|
||||
|
||||
~ public static BiomeGenBase ocean;
|
||||
~ public static BiomeGenBase plains;
|
||||
~ public static BiomeGenBase desert;
|
||||
~ public static BiomeGenBase extremeHills;
|
||||
~ public static BiomeGenBase forest;
|
||||
~ public static BiomeGenBase taiga;
|
||||
~ public static BiomeGenBase swampland;
|
||||
~ public static BiomeGenBase river;
|
||||
~ public static BiomeGenBase hell;
|
||||
~ public static BiomeGenBase sky;
|
||||
~ public static BiomeGenBase frozenOcean;
|
||||
~ public static BiomeGenBase frozenRiver;
|
||||
~ public static BiomeGenBase icePlains;
|
||||
~ public static BiomeGenBase iceMountains;
|
||||
~ public static BiomeGenBase mushroomIsland;
|
||||
~ public static BiomeGenBase mushroomIslandShore;
|
||||
~ public static BiomeGenBase beach;
|
||||
~ public static BiomeGenBase desertHills;
|
||||
~ public static BiomeGenBase forestHills;
|
||||
~ public static BiomeGenBase taigaHills;
|
||||
~ public static BiomeGenBase extremeHillsEdge;
|
||||
~ public static BiomeGenBase jungle;
|
||||
~ public static BiomeGenBase jungleHills;
|
||||
~ public static BiomeGenBase jungleEdge;
|
||||
~ public static BiomeGenBase deepOcean;
|
||||
~ public static BiomeGenBase stoneBeach;
|
||||
~ public static BiomeGenBase coldBeach;
|
||||
~ public static BiomeGenBase birchForest;
|
||||
~ public static BiomeGenBase birchForestHills;
|
||||
~ public static BiomeGenBase roofedForest;
|
||||
~ public static BiomeGenBase coldTaiga;
|
||||
~ public static BiomeGenBase coldTaigaHills;
|
||||
~ public static BiomeGenBase megaTaiga;
|
||||
~ public static BiomeGenBase megaTaigaHills;
|
||||
~ public static BiomeGenBase extremeHillsPlus;
|
||||
~ public static BiomeGenBase savanna;
|
||||
~ public static BiomeGenBase savannaPlateau;
|
||||
~ public static BiomeGenBase mesa;
|
||||
~ public static BiomeGenBase mesaPlateau_F;
|
||||
~ public static BiomeGenBase mesaPlateau;
|
||||
~ public static BiomeGenBase field_180279_ad;
|
||||
~ protected static NoiseGeneratorPerlin temperatureNoise;
|
||||
~ protected static NoiseGeneratorPerlin GRASS_COLOR_NOISE;
|
||||
~ protected static WorldGenDoublePlant DOUBLE_PLANT_GENERATOR;
|
||||
|
||||
> CHANGE 81 : 82 @ 81 : 82
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom rand) {
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ public WorldGenerator getRandomWorldGenForGrass(EaglercraftRandom rand) {
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ public BlockFlower.EnumFlowerType pickRandomFlower(EaglercraftRandom rand, BlockPos pos) {
|
||||
|
||||
> CHANGE 94 : 95 @ 94 : 95
|
||||
|
||||
~ public void decorate(World worldIn, EaglercraftRandom rand, BlockPos pos) {
|
||||
|
||||
> CHANGE 19 : 21 @ 19 : 21
|
||||
|
||||
~ public void genTerrainBlocks(World worldIn, EaglercraftRandom rand, ChunkPrimer chunkPrimerIn, int parInt1,
|
||||
~ int parInt2, double parDouble1) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 5
|
||||
|
||||
~ public final void generateBiomeTerrain(World worldIn, EaglercraftRandom rand, ChunkPrimer chunkPrimerIn,
|
||||
~ int parInt1, int parInt2, double parDouble1) {
|
||||
|
||||
> CHANGE 101 : 177 @ 101 : 102
|
||||
|
||||
~ public static void doBootstrap() {
|
||||
~ ocean = (new BiomeGenOcean(0)).setColor(112).setBiomeName("Ocean").setHeight(height_Oceans);
|
||||
~ plains = (new BiomeGenPlains(1)).setColor(9286496).setBiomeName("Plains");
|
||||
~ desert = (new BiomeGenDesert(2)).setColor(16421912).setBiomeName("Desert").setDisableRain()
|
||||
~ .setTemperatureRainfall(2.0F, 0.0F).setHeight(height_LowPlains);
|
||||
~ extremeHills = (new BiomeGenHills(3, false)).setColor(6316128).setBiomeName("Extreme Hills")
|
||||
~ .setHeight(height_MidHills).setTemperatureRainfall(0.2F, 0.3F);
|
||||
~ forest = (new BiomeGenForest(4, 0)).setColor(353825).setBiomeName("Forest");
|
||||
~ taiga = (new BiomeGenTaiga(5, 0)).setColor(747097).setBiomeName("Taiga").setFillerBlockMetadata(5159473)
|
||||
~ .setTemperatureRainfall(0.25F, 0.8F).setHeight(height_MidPlains);
|
||||
~ swampland = (new BiomeGenSwamp(6)).setColor(522674).setBiomeName("Swampland").setFillerBlockMetadata(9154376)
|
||||
~ .setHeight(height_PartiallySubmerged).setTemperatureRainfall(0.8F, 0.9F);
|
||||
~ river = (new BiomeGenRiver(7)).setColor(255).setBiomeName("River").setHeight(height_ShallowWaters);
|
||||
~ hell = (new BiomeGenHell(8)).setColor(16711680).setBiomeName("Hell").setDisableRain()
|
||||
~ .setTemperatureRainfall(2.0F, 0.0F);
|
||||
~ sky = (new BiomeGenEnd(9)).setColor(8421631).setBiomeName("The End").setDisableRain();
|
||||
~ frozenOcean = (new BiomeGenOcean(10)).setColor(9474208).setBiomeName("FrozenOcean").setEnableSnow()
|
||||
~ .setHeight(height_Oceans).setTemperatureRainfall(0.0F, 0.5F);
|
||||
~ frozenRiver = (new BiomeGenRiver(11)).setColor(10526975).setBiomeName("FrozenRiver").setEnableSnow()
|
||||
~ .setHeight(height_ShallowWaters).setTemperatureRainfall(0.0F, 0.5F);
|
||||
~ icePlains = (new BiomeGenSnow(12, false)).setColor(16777215).setBiomeName("Ice Plains").setEnableSnow()
|
||||
~ .setTemperatureRainfall(0.0F, 0.5F).setHeight(height_LowPlains);
|
||||
~ iceMountains = (new BiomeGenSnow(13, false)).setColor(10526880).setBiomeName("Ice Mountains").setEnableSnow()
|
||||
~ .setHeight(height_LowHills).setTemperatureRainfall(0.0F, 0.5F);
|
||||
~ mushroomIsland = (new BiomeGenMushroomIsland(14)).setColor(16711935).setBiomeName("MushroomIsland")
|
||||
~ .setTemperatureRainfall(0.9F, 1.0F).setHeight(height_LowIslands);
|
||||
~ mushroomIslandShore = (new BiomeGenMushroomIsland(15)).setColor(10486015).setBiomeName("MushroomIslandShore")
|
||||
~ .setTemperatureRainfall(0.9F, 1.0F).setHeight(height_Shores);
|
||||
~ beach = (new BiomeGenBeach(16)).setColor(16440917).setBiomeName("Beach").setTemperatureRainfall(0.8F, 0.4F)
|
||||
~ .setHeight(height_Shores);
|
||||
~ desertHills = (new BiomeGenDesert(17)).setColor(13786898).setBiomeName("DesertHills").setDisableRain()
|
||||
~ .setTemperatureRainfall(2.0F, 0.0F).setHeight(height_LowHills);
|
||||
~ forestHills = (new BiomeGenForest(18, 0)).setColor(2250012).setBiomeName("ForestHills")
|
||||
~ .setHeight(height_LowHills);
|
||||
~ taigaHills = (new BiomeGenTaiga(19, 0)).setColor(1456435).setBiomeName("TaigaHills")
|
||||
~ .setFillerBlockMetadata(5159473).setTemperatureRainfall(0.25F, 0.8F).setHeight(height_LowHills);
|
||||
~ extremeHillsEdge = (new BiomeGenHills(20, true)).setColor(7501978).setBiomeName("Extreme Hills Edge")
|
||||
~ .setHeight(height_MidHills.attenuate()).setTemperatureRainfall(0.2F, 0.3F);
|
||||
~ jungle = (new BiomeGenJungle(21, false)).setColor(5470985).setBiomeName("Jungle")
|
||||
~ .setFillerBlockMetadata(5470985).setTemperatureRainfall(0.95F, 0.9F);
|
||||
~ jungleHills = (new BiomeGenJungle(22, false)).setColor(2900485).setBiomeName("JungleHills")
|
||||
~ .setFillerBlockMetadata(5470985).setTemperatureRainfall(0.95F, 0.9F).setHeight(height_LowHills);
|
||||
~ jungleEdge = (new BiomeGenJungle(23, true)).setColor(6458135).setBiomeName("JungleEdge")
|
||||
~ .setFillerBlockMetadata(5470985).setTemperatureRainfall(0.95F, 0.8F);
|
||||
~ deepOcean = (new BiomeGenOcean(24)).setColor(48).setBiomeName("Deep Ocean").setHeight(height_DeepOceans);
|
||||
~ stoneBeach = (new BiomeGenStoneBeach(25)).setColor(10658436).setBiomeName("Stone Beach")
|
||||
~ .setTemperatureRainfall(0.2F, 0.3F).setHeight(height_RockyWaters);
|
||||
~ coldBeach = (new BiomeGenBeach(26)).setColor(16445632).setBiomeName("Cold Beach")
|
||||
~ .setTemperatureRainfall(0.05F, 0.3F).setHeight(height_Shores).setEnableSnow();
|
||||
~ birchForest = (new BiomeGenForest(27, 2)).setBiomeName("Birch Forest").setColor(3175492);
|
||||
~ birchForestHills = (new BiomeGenForest(28, 2)).setBiomeName("Birch Forest Hills").setColor(2055986)
|
||||
~ .setHeight(height_LowHills);
|
||||
~ roofedForest = (new BiomeGenForest(29, 3)).setColor(4215066).setBiomeName("Roofed Forest");
|
||||
~ coldTaiga = (new BiomeGenTaiga(30, 0)).setColor(3233098).setBiomeName("Cold Taiga")
|
||||
~ .setFillerBlockMetadata(5159473).setEnableSnow().setTemperatureRainfall(-0.5F, 0.4F)
|
||||
~ .setHeight(height_MidPlains).func_150563_c(16777215);
|
||||
~ coldTaigaHills = (new BiomeGenTaiga(31, 0)).setColor(2375478).setBiomeName("Cold Taiga Hills")
|
||||
~ .setFillerBlockMetadata(5159473).setEnableSnow().setTemperatureRainfall(-0.5F, 0.4F)
|
||||
~ .setHeight(height_LowHills).func_150563_c(16777215);
|
||||
~ megaTaiga = (new BiomeGenTaiga(32, 1)).setColor(5858897).setBiomeName("Mega Taiga")
|
||||
~ .setFillerBlockMetadata(5159473).setTemperatureRainfall(0.3F, 0.8F).setHeight(height_MidPlains);
|
||||
~ megaTaigaHills = (new BiomeGenTaiga(33, 1)).setColor(4542270).setBiomeName("Mega Taiga Hills")
|
||||
~ .setFillerBlockMetadata(5159473).setTemperatureRainfall(0.3F, 0.8F).setHeight(height_LowHills);
|
||||
~ extremeHillsPlus = (new BiomeGenHills(34, true)).setColor(5271632).setBiomeName("Extreme Hills+")
|
||||
~ .setHeight(height_MidHills).setTemperatureRainfall(0.2F, 0.3F);
|
||||
~ savanna = (new BiomeGenSavanna(35)).setColor(12431967).setBiomeName("Savanna")
|
||||
~ .setTemperatureRainfall(1.2F, 0.0F).setDisableRain().setHeight(height_LowPlains);
|
||||
~ savannaPlateau = (new BiomeGenSavanna(36)).setColor(10984804).setBiomeName("Savanna Plateau")
|
||||
~ .setTemperatureRainfall(1.0F, 0.0F).setDisableRain().setHeight(height_HighPlateaus);
|
||||
~ mesa = (new BiomeGenMesa(37, false, false)).setColor(14238997).setBiomeName("Mesa");
|
||||
~ mesaPlateau_F = (new BiomeGenMesa(38, false, true)).setColor(11573093).setBiomeName("Mesa Plateau F")
|
||||
~ .setHeight(height_HighPlateaus);
|
||||
~ mesaPlateau = (new BiomeGenMesa(39, false, false)).setColor(13274213).setBiomeName("Mesa Plateau")
|
||||
~ .setHeight(height_HighPlateaus);
|
||||
~ field_180279_ad = ocean;
|
||||
~
|
||||
|
||||
> CHANGE 22 : 26 @ 22 : 23
|
||||
|
||||
~ explorationBiomesList.clear();
|
||||
~
|
||||
~ for (int i = 0; i < biomeList.length; ++i) {
|
||||
~ BiomeGenBase biomegenbase = biomeList[i];
|
||||
|
||||
> CHANGE 18 : 20 @ 18 : 20
|
||||
|
||||
~ temperatureNoise = new NoiseGeneratorPerlin(new EaglercraftRandom(1234L), 1);
|
||||
~ GRASS_COLOR_NOISE = new NoiseGeneratorPerlin(new EaglercraftRandom(2345L), 1);
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 15 : 16 @ 15 : 16
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 4 @ 4 : 6
|
||||
|
||||
> EOF
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 8
|
||||
|
||||
> CHANGE 54 : 55 @ 54 : 55
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ public BlockFlower.EnumFlowerType pickRandomFlower(EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 4 : 6 @ 4 : 6
|
||||
|
||||
~ BlockFlower.EnumFlowerType blockflower$enumflowertype = BlockFlower.EnumFlowerType._VALUES[(int) (d0
|
||||
~ * (double) BlockFlower.EnumFlowerType._VALUES.length)];
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 65 : 66 @ 65 : 66
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> EOF
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> INSERT 7 : 8 @ 7
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 19 : 20 @ 19 : 20
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 22 : 24 @ 22 : 23
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> EOF
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 11 @ 11 : 12
|
||||
|
||||
> CHANGE 11 : 14 @ 11 : 19
|
||||
|
||||
~ private final IBlockState field_181620_aE;
|
||||
~ private final IBlockState field_181621_aF;
|
||||
~ private final IBlockState field_181622_aG;
|
||||
|
||||
> INSERT 3 : 9 @ 3
|
||||
|
||||
+ field_181620_aE = Blocks.log.getDefaultState().withProperty(BlockOldLog.VARIANT, BlockPlanks.EnumType.JUNGLE);
|
||||
+ field_181621_aF = Blocks.leaves.getDefaultState()
|
||||
+ .withProperty(BlockOldLeaf.VARIANT, BlockPlanks.EnumType.JUNGLE)
|
||||
+ .withProperty(BlockLeaves.CHECK_DECAY, Boolean.valueOf(false));
|
||||
+ field_181622_aG = Blocks.leaves.getDefaultState().withProperty(BlockOldLeaf.VARIANT, BlockPlanks.EnumType.OAK)
|
||||
+ .withProperty(BlockLeaves.CHECK_DECAY, Boolean.valueOf(false));
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ public WorldGenerator getRandomWorldGenForGrass(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 9 @ 9 : 10
|
||||
|
||||
> CHANGE 34 : 35 @ 34 : 35
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom var1) {
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 4
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ this.func_150619_a(world.getSeed(), !world.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 4
|
||||
|
||||
~ EaglercraftRandom random1 = new EaglercraftRandom(this.field_150622_aD,
|
||||
~ !world.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> CHANGE 108 : 109 @ 108 : 109
|
||||
|
||||
~ private void func_150619_a(long parLong1, boolean scrambleRNG) {
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ EaglercraftRandom random = new EaglercraftRandom(parLong1, scrambleRNG);
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> EOF
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 2 : 4 @ 2
|
||||
|
||||
+ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
+
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~
|
||||
|
||||
> DELETE 2 @ 2 : 3
|
||||
|
||||
> CHANGE 31 : 32 @ 31 : 32
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 4
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> CHANGE 7 : 8 @ 7 : 8
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> EOF
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
~
|
||||
|
||||
> DELETE 1 @ 1 : 2
|
||||
|
||||
> CHANGE 12 : 14 @ 12 : 13
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> EOF
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 14 : 15 @ 14 : 15
|
||||
|
||||
~ public BlockFlower.EnumFlowerType pickRandomFlower(EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 24 : 25 @ 24 : 25
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 4
|
||||
|
||||
> EOF
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 8
|
||||
|
||||
> INSERT 5 : 6 @ 5
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 10 : 11 @ 10 : 11
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 20 : 22 @ 20 : 21
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 20 : 21 @ 20 : 21
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 17 : 18 @ 17 : 18
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom var1) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> EOF
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 20 : 21 @ 20 : 21
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom var1) {
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ public BlockFlower.EnumFlowerType pickRandomFlower(EaglercraftRandom var1, BlockPos var2) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 4
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> EOF
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 7 @ 7 : 8
|
||||
|
||||
> INSERT 10 : 11 @ 10
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 23 : 24 @ 23 : 24
|
||||
|
||||
~ public WorldGenAbstractTree genBigTreeChance(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 6 : 7 @ 6 : 7
|
||||
|
||||
~ public WorldGenerator getRandomWorldGenForGrass(EaglercraftRandom random) {
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ public void decorate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 23 : 25 @ 23 : 24
|
||||
|
||||
~ public void genTerrainBlocks(World world, EaglercraftRandom random, ChunkPrimer chunkprimer, int i, int j,
|
||||
~ double d0) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 8
|
||||
|
||||
> CHANGE 167 : 168 @ 167 : 168
|
||||
|
||||
~ public BlockPos findBiomePosition(int x, int z, int range, List<BiomeGenBase> biomes, EaglercraftRandom random) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 1 @ 1 : 3
|
||||
|
||||
> CHANGE 45 : 46 @ 45 : 46
|
||||
|
||||
~ public BlockPos findBiomePosition(int i, int j, int k, List<BiomeGenBase> list, EaglercraftRandom random) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 4
|
||||
|
||||
> EOF
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 3
|
||||
|
||||
> INSERT 1 : 4 @ 1
|
||||
|
||||
+
|
||||
+ import com.google.common.collect.Lists;
|
||||
+
|
||||
|
||||
> DELETE 4 @ 4 : 6
|
||||
|
||||
> CHANGE 105 : 108 @ 105 : 107
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onCenterChanged(this, x, z);
|
||||
|
||||
> CHANGE 32 : 35 @ 32 : 34
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onSizeChanged(this, newSize);
|
||||
|
||||
> CHANGE 10 : 13 @ 10 : 12
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onTransitionStarted(this, oldSize, newSize, time);
|
||||
|
||||
> CHANGE 27 : 30 @ 27 : 29
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onDamageBufferChanged(this, bufferSize);
|
||||
|
||||
> CHANGE 11 : 14 @ 11 : 13
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onDamageAmountChanged(this, newAmount);
|
||||
|
||||
> CHANGE 16 : 19 @ 16 : 18
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onWarningTimeChanged(this, warningTime);
|
||||
|
||||
> CHANGE 11 : 14 @ 11 : 13
|
||||
|
||||
~ List<IBorderListener> lst = this.getListeners();
|
||||
~ for (int i = 0, l = lst.size(); i < l; ++i) {
|
||||
~ lst.get(i).onWarningDistanceChanged(this, warningDistance);
|
||||
|
||||
> EOF
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> INSERT 1 : 2 @ 1
|
||||
|
||||
+ import java.util.LinkedList;
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
~
|
||||
|
||||
> CHANGE 1 : 3 @ 1 : 2
|
||||
|
||||
~
|
||||
~ import net.lax1dude.eaglercraft.v1_8.sp.server.EaglerMinecraftServer;
|
||||
|
||||
> DELETE 18 @ 18 : 19
|
||||
|
||||
> DELETE 2 @ 2 : 5
|
||||
|
||||
> CHANGE 1 : 4 @ 1 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.opengl.ext.deferred.DeferredStateManager;
|
||||
|
||||
> CHANGE 24 : 25 @ 24 : 25
|
||||
|
||||
~ private List<BlockPos> tileEntityPosQueue;
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ this.tileEntityPosQueue = new LinkedList();
|
||||
|
||||
> INSERT 135 : 138 @ 135
|
||||
|
||||
+ if (!this.worldObj.isRemote) {
|
||||
+ ++EaglerMinecraftServer.counterLightUpdate;
|
||||
+ }
|
||||
|
||||
> CHANGE 20 : 23 @ 20 : 21
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ EnumFacing enumfacing = facings[m];
|
||||
|
||||
> CHANGE 6 : 8 @ 6 : 7
|
||||
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ EnumFacing enumfacing1 = facings[m];
|
||||
|
||||
> CHANGE 110 : 113 @ 110 : 111
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ EnumFacing enumfacing = facings[m];
|
||||
|
||||
> INSERT 7 : 10 @ 7
|
||||
|
||||
+ if (!this.worldObj.isRemote) {
|
||||
+ ++EaglerMinecraftServer.counterLightUpdate;
|
||||
+ }
|
||||
|
||||
> CHANGE 61 : 70 @ 61 : 65
|
||||
|
||||
~ try {
|
||||
~ if (pos.getY() >= 0 && pos.getY() >> 4 < this.storageArrays.length) {
|
||||
~ ExtendedBlockStorage extendedblockstorage = this.storageArrays[pos.getY() >> 4];
|
||||
~ if (extendedblockstorage != null) {
|
||||
~ int j = pos.getX() & 15;
|
||||
~ int k = pos.getY() & 15;
|
||||
~ int i = pos.getZ() & 15;
|
||||
~ return extendedblockstorage.get(j, k, i);
|
||||
~ }
|
||||
|
||||
> CHANGE 2 : 9 @ 2 : 17
|
||||
|
||||
~ return Blocks.air.getDefaultState();
|
||||
~ } catch (Throwable throwable) {
|
||||
~ CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Getting block state");
|
||||
~ CrashReportCategory crashreportcategory = crashreport.makeCategory("Block being got");
|
||||
~ crashreportcategory.addCrashSectionCallable("Location", new Callable<String>() {
|
||||
~ public String call() throws Exception {
|
||||
~ return CrashReportCategory.getCoordinateInfo(pos);
|
||||
|
||||
> INSERT 1 : 5 @ 1
|
||||
|
||||
+ });
|
||||
+ throw new ReportedException(crashreport);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
> CHANGE 1 : 14 @ 1 : 11
|
||||
|
||||
~ /**
|
||||
~ * only use with a regular "net.minecraft.util.BlockPos"!
|
||||
~ */
|
||||
~ public IBlockState getBlockStateFaster(final BlockPos pos) {
|
||||
~ try {
|
||||
~ if (pos.y >= 0 && pos.y >> 4 < this.storageArrays.length) {
|
||||
~ ExtendedBlockStorage extendedblockstorage = this.storageArrays[pos.getY() >> 4];
|
||||
~ if (extendedblockstorage != null) {
|
||||
~ int j = pos.x & 15;
|
||||
~ int k = pos.y & 15;
|
||||
~ int i = pos.z & 15;
|
||||
~ return extendedblockstorage.get(j, k, i);
|
||||
~ }
|
||||
|
||||
> INSERT 1 : 12 @ 1
|
||||
|
||||
+
|
||||
+ return Blocks.air.getDefaultState();
|
||||
+ } catch (Throwable throwable) {
|
||||
+ CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Getting block state");
|
||||
+ CrashReportCategory crashreportcategory = crashreport.makeCategory("Block being got");
|
||||
+ crashreportcategory.addCrashSectionCallable("Location", new Callable<String>() {
|
||||
+ public String call() throws Exception {
|
||||
+ return CrashReportCategory.getCoordinateInfo(pos);
|
||||
+ }
|
||||
+ });
|
||||
+ throw new ReportedException(crashreport);
|
||||
|
||||
> CHANGE 110 : 112 @ 110 : 111
|
||||
|
||||
~ return extendedblockstorage == null
|
||||
~ ? (this.canSeeSky(blockpos) ? enumskyblock.defaultLightValue : getNoSkyLightValue())
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ ? (this.worldObj.provider.getHasNoSky() ? getNoSkyLightValue()
|
||||
|
||||
> CHANGE 35 : 36 @ 35 : 36
|
||||
|
||||
~ : getNoSkyLightValue();
|
||||
|
||||
> CHANGE 1 : 3 @ 1 : 2
|
||||
|
||||
~ int i1 = this.worldObj.provider.getHasNoSky() ? getNoSkyLightValue()
|
||||
~ : extendedblockstorage.getExtSkylightValue(j, k & 15, l);
|
||||
|
||||
> INSERT 10 : 14 @ 10
|
||||
|
||||
+ public static int getNoSkyLightValue() {
|
||||
+ return DeferredStateManager.isDeferredRenderer() ? 5 : 0;
|
||||
+ }
|
||||
+
|
||||
|
||||
> CHANGE 176 : 178 @ 176 : 178
|
||||
|
||||
~ && (predicate == null || predicate.apply((T) entity))) {
|
||||
~ list.add((T) entity);
|
||||
|
||||
> CHANGE 18 : 20 @ 18 : 20
|
||||
|
||||
~ public EaglercraftRandom getRandomWithSeed(long i) {
|
||||
~ return new EaglercraftRandom(this.worldObj.getSeed() + (long) (this.xPosition * this.xPosition * 4987142)
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ + (long) (this.zPosition * 389711) ^ i, !this.worldObj.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> CHANGE 90 : 91 @ 90 : 91
|
||||
|
||||
~ BlockPos blockpos = (BlockPos) this.tileEntityPosQueue.remove(0);
|
||||
|
||||
> CHANGE 113 : 114 @ 113 : 114
|
||||
|
||||
~ if (chunkManager != null && k == 255) {
|
||||
|
||||
> INSERT 42 : 43 @ 42
|
||||
|
||||
+ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
|
||||
> CHANGE 5 : 7 @ 5 : 7
|
||||
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ BlockPos blockpos2 = blockpos1.offset(facings[m]);
|
||||
|
||||
> CHANGE 29 : 32 @ 29 : 30
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int i = 0; i < facings.length; ++i) {
|
||||
~ EnumFacing enumfacing = facings[i];
|
||||
|
||||
> EOF
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 3
|
||||
|
||||
> CHANGE 1 : 5 @ 1 : 2
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
~
|
||||
~ import com.google.common.base.Predicate;
|
||||
~
|
||||
|
||||
> DELETE 8 @ 8 : 9
|
||||
|
||||
> CHANGE 90 : 96 @ 90 : 94
|
||||
|
||||
~ public EaglercraftRandom getRandomWithSeed(long seed) {
|
||||
~ return new EaglercraftRandom(
|
||||
~ this.getWorld().getSeed() + (long) (this.xPosition * this.xPosition * 4987142)
|
||||
~ + (long) (this.xPosition * 5947611) + (long) (this.zPosition * this.zPosition) * 4392871L
|
||||
~ + (long) (this.zPosition * 389711) ^ seed,
|
||||
~ !this.getWorld().getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> EOF
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 3 : 4 @ 3
|
||||
|
||||
+
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> EOF
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 8
|
||||
|
||||
> DELETE 1 @ 1 : 4
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> DELETE 5 @ 5 : 7
|
||||
|
||||
> CHANGE 4 : 6 @ 4 : 11
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
|
||||
> CHANGE 1 : 3 @ 1 : 7
|
||||
|
||||
~ public abstract class AnvilChunkLoader implements IChunkLoader {
|
||||
~ private static final Logger logger = LogManager.getLogger("AnvilChunkLoader");
|
||||
|
||||
> DELETE 1 @ 1 : 21
|
||||
|
||||
> CHANGE 24 : 25 @ 24 : 109
|
||||
|
||||
~ protected void writeChunkToNBT(Chunk chunkIn, World worldIn, NBTTagCompound parNBTTagCompound) {
|
||||
|
||||
> CHANGE 80 : 81 @ 80 : 81
|
||||
|
||||
~ List<NextTickListEntry> list = worldIn.getPendingBlockUpdates(chunkIn, false);
|
||||
|
||||
> CHANGE 4 : 6 @ 4 : 5
|
||||
|
||||
~ for (int k = 0, l = list.size(); k < l; ++k) {
|
||||
~ NextTickListEntry nextticklistentry = list.get(k);
|
||||
|
||||
> CHANGE 17 : 18 @ 17 : 18
|
||||
|
||||
~ protected Chunk readChunkFromNBT(World worldIn, NBTTagCompound parNBTTagCompound) {
|
||||
|
||||
> EOF
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 8 @ 8 : 9
|
||||
|
||||
> EOF
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 3
|
||||
|
||||
> DELETE 1 @ 1 : 3
|
||||
|
||||
> DELETE 2 @ 2 : 3
|
||||
|
||||
> DELETE 1 @ 1 : 2
|
||||
|
||||
> DELETE 1 @ 1 : 5
|
||||
|
||||
> INSERT 1 : 8 @ 1
|
||||
|
||||
+ import com.google.common.collect.Lists;
|
||||
+
|
||||
+ import net.lax1dude.eaglercraft.v1_8.EaglerInputStream;
|
||||
+ import net.lax1dude.eaglercraft.v1_8.EaglerOutputStream;
|
||||
+ import net.lax1dude.eaglercraft.v1_8.EaglerZLIB;
|
||||
+ import net.lax1dude.eaglercraft.v1_8.sp.server.export.RandomAccessMemoryFile;
|
||||
+
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 4
|
||||
|
||||
~ private RandomAccessMemoryFile dataFile;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 3
|
||||
|
||||
~ public RegionFile(RandomAccessMemoryFile dataFile) {
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 9
|
||||
|
||||
~ this.dataFile = dataFile;
|
||||
~ if (this.dataFile.getLength() < 4096) {
|
||||
|
||||
> CHANGE 11 : 13 @ 11 : 13
|
||||
|
||||
~ if ((this.dataFile.getLength() & 4095L) != 0L) {
|
||||
~ for (int j1 = 0; (long) j1 < (this.dataFile.getLength() & 4095L); ++j1) {
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ int k1 = (int) this.dataFile.getLength() / 4096;
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ this.dataFile.seek(0);
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ throw new RuntimeException("Could not initialize RegionFile!", ioexception);
|
||||
|
||||
> CHANGE 18 : 19 @ 18 : 19
|
||||
|
||||
~ this.dataFile.seek(j * 4096);
|
||||
|
||||
> CHANGE 10 : 12 @ 10 : 12
|
||||
|
||||
~ return new DataInputStream(new BufferedInputStream(
|
||||
~ EaglerZLIB.newGZIPInputStream(new EaglerInputStream(abyte1))));
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ EaglerZLIB.newInflaterInputStream(new EaglerInputStream(abyte))));
|
||||
|
||||
> CHANGE 12 : 13 @ 12 : 13
|
||||
|
||||
~ public DataOutputStream getChunkDataOutputStream(int x, int z) throws IOException {
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ : new DataOutputStream(EaglerZLIB.newDeflaterOutputStream(new RegionFile.ChunkBuffer(x, z)));
|
||||
|
||||
> CHANGE 50 : 51 @ 50 : 51
|
||||
|
||||
~ this.dataFile.seek(this.dataFile.getLength());
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ this.setChunkTimestamp(x, z, (int) (System.currentTimeMillis() / 1000L));
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ throw new RuntimeException("Could not write chunk to RegionFile!", ioexception);
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ this.dataFile.seek(sectorNumber * 4096);
|
||||
|
||||
> CHANGE 19 : 20 @ 19 : 20
|
||||
|
||||
~ this.dataFile.seek((x + z * 32) * 4);
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ this.dataFile.seek(4096 + (x + z * 32) * 4);
|
||||
|
||||
> CHANGE 3 : 5 @ 3 : 8
|
||||
|
||||
~ public RandomAccessMemoryFile getFile() {
|
||||
~ return dataFile;
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ class ChunkBuffer extends EaglerOutputStream {
|
||||
|
||||
> EOF
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 10 : 12 @ 10
|
||||
|
||||
+ import net.lax1dude.eaglercraft.v1_8.EaglercraftVersion;
|
||||
+
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ private static final long demoWorldSeed = EaglercraftVersion.demoWorldSeed;
|
||||
|
||||
> EOF
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 13 @ 13 : 14
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ private EaglercraftRandom endRNG;
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ this.endRNG = new EaglercraftRandom(parLong1, !worldIn.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> EOF
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 11 @ 11 : 14
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ private EaglercraftRandom random;
|
||||
|
||||
> CHANGE 10 : 12 @ 10 : 11
|
||||
|
||||
~ boolean scramble = !worldIn.getWorldInfo().isOldEaglercraftRandom();
|
||||
~ this.random = new EaglercraftRandom(seed, scramble);
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ this.structureGenerators.add(new MapGenVillage(map1, scramble));
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ this.structureGenerators.add(new MapGenScatteredFeature((Map) map.get("biome_1"), scramble));
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ this.structureGenerators.add(new MapGenMineshaft((Map) map.get("mineshaft"), scramble));
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ this.structureGenerators.add(new MapGenStronghold((Map) map.get("stronghold"), scramble));
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ this.structureGenerators.add(new StructureOceanMonument((Map) map.get("oceanmonument"), scramble));
|
||||
|
||||
> CHANGE 84 : 86 @ 84 : 85
|
||||
|
||||
~ for (int m = 0, n = this.structureGenerators.size(); m < n; ++m) {
|
||||
~ MapGenStructure mapgenstructure = this.structureGenerators.get(m);
|
||||
|
||||
> CHANGE 63 : 65 @ 63 : 64
|
||||
|
||||
~ for (int m = 0, n = this.structureGenerators.size(); m < n; ++m) {
|
||||
~ MapGenStructure mapgenstructure = this.structureGenerators.get(m);
|
||||
|
||||
> CHANGE 14 : 16 @ 14 : 16
|
||||
|
||||
~ for (int m = 0, n = this.structureGenerators.size(); m < n; ++m) {
|
||||
~ this.structureGenerators.get(m).generate(this, this.worldObj, i, j, (ChunkPrimer) null);
|
||||
|
||||
> EOF
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 15 @ 15 : 21
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ private EaglercraftRandom rand;
|
||||
|
||||
> CHANGE 15 : 22 @ 15 : 22
|
||||
|
||||
~ private MapGenBase caveGenerator;
|
||||
~ private MapGenStronghold strongholdGenerator;
|
||||
~ private MapGenVillage villageGenerator;
|
||||
~ private MapGenMineshaft mineshaftGenerator;
|
||||
~ private MapGenScatteredFeature scatteredFeatureGenerator;
|
||||
~ private MapGenBase ravineGenerator;
|
||||
~ private StructureOceanMonument oceanMonumentGenerator;
|
||||
|
||||
> CHANGE 10 : 19 @ 10 : 11
|
||||
|
||||
~ boolean scramble = !worldIn.getWorldInfo().isOldEaglercraftRandom();
|
||||
~ this.rand = new EaglercraftRandom(parLong1, scramble);
|
||||
~ this.caveGenerator = new MapGenCaves(scramble);
|
||||
~ this.strongholdGenerator = new MapGenStronghold(scramble);
|
||||
~ this.villageGenerator = new MapGenVillage(scramble);
|
||||
~ this.mineshaftGenerator = new MapGenMineshaft(scramble);
|
||||
~ this.scatteredFeatureGenerator = new MapGenScatteredFeature(scramble);
|
||||
~ this.ravineGenerator = new MapGenRavine(scramble);
|
||||
~ this.oceanMonumentGenerator = new StructureOceanMonument(scramble);
|
||||
|
||||
> EOF
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 15 @ 15 : 19
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ private final EaglercraftRandom hellRNG;
|
||||
|
||||
> CHANGE 20 : 22 @ 20 : 22
|
||||
|
||||
~ private final MapGenNetherBridge genNetherBridge;
|
||||
~ private final MapGenBase netherCaveGenerator;
|
||||
|
||||
> CHANGE 9 : 13 @ 9 : 10
|
||||
|
||||
~ boolean scramble = !worldIn.getWorldInfo().isOldEaglercraftRandom();
|
||||
~ this.hellRNG = new EaglercraftRandom(parLong1, scramble);
|
||||
~ this.genNetherBridge = new MapGenNetherBridge(scramble);
|
||||
~ this.netherCaveGenerator = new MapGenCavesHell(scramble);
|
||||
|
||||
> EOF
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> INSERT 11 : 12 @ 11
|
||||
|
||||
+ import net.lax1dude.eaglercraft.v1_8.sp.server.EaglerMinecraftServer;
|
||||
|
||||
> CHANGE 14 : 17 @ 14 : 16
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.HString;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ private List<Chunk> loadedChunks = Lists.newLinkedList();
|
||||
|
||||
> INSERT 48 : 49 @ 48
|
||||
|
||||
+ ++EaglerMinecraftServer.counterChunkGenerate;
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ HString.format("%d,%d", new Object[] { Integer.valueOf(i), Integer.valueOf(j) }));
|
||||
|
||||
> INSERT 5 : 7 @ 5
|
||||
|
||||
+ } else {
|
||||
+ ++EaglerMinecraftServer.counterChunkRead;
|
||||
|
||||
> CHANGE 32 : 34 @ 32 : 33
|
||||
|
||||
~ logger.error("Couldn\'t load chunk");
|
||||
~ logger.error(exception);
|
||||
|
||||
> CHANGE 10 : 12 @ 10 : 11
|
||||
|
||||
~ logger.error("Couldn\'t save entities");
|
||||
~ logger.error(exception);
|
||||
|
||||
> INSERT 10 : 11 @ 10
|
||||
|
||||
+ ++EaglerMinecraftServer.counterChunkWrite;
|
||||
|
||||
> CHANGE 1 : 3 @ 1 : 2
|
||||
|
||||
~ logger.error("Couldn\'t save chunk");
|
||||
~ logger.error(ioexception);
|
||||
|
||||
> CHANGE 1 : 3 @ 1 : 3
|
||||
|
||||
~ logger.error("Couldn\'t save chunk; already in use by another instance of Minecraft?");
|
||||
~ logger.error(minecraftexception);
|
||||
|
||||
> CHANGE 31 : 32 @ 31 : 32
|
||||
|
||||
~ for (int j = 0, l = arraylist.size(); j < l; ++j) {
|
||||
|
||||
> EOF
|
||||
+424
@@ -0,0 +1,424 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 7 @ 2 : 13
|
||||
|
||||
~ import org.json.JSONException;
|
||||
~ import org.json.JSONObject;
|
||||
~
|
||||
~ import net.lax1dude.eaglercraft.v1_8.json.JSONTypeCodec;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.json.JSONTypeProvider;
|
||||
|
||||
> DELETE 164 @ 164 : 167
|
||||
|
||||
> CHANGE 84 : 85 @ 84 : 86
|
||||
|
||||
~ return JSONTypeProvider.deserialize(parString1, ChunkProviderSettings.Factory.class);
|
||||
|
||||
> CHANGE 7 : 8 @ 7 : 8
|
||||
|
||||
~ return JSONTypeProvider.serialize(this).toString();
|
||||
|
||||
> CHANGE 365 : 367 @ 365 : 370
|
||||
|
||||
~ public static class Serializer implements JSONTypeCodec<ChunkProviderSettings.Factory, JSONObject> {
|
||||
~ public ChunkProviderSettings.Factory deserialize(JSONObject jsonobject) throws JSONException {
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ chunkprovidersettings$factory.coordinateScale = jsonobject.optFloat("coordinateScale",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.heightScale = jsonobject.optFloat("heightScale",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lowerLimitScale = jsonobject.optFloat("lowerLimitScale",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.upperLimitScale = jsonobject.optFloat("upperLimitScale",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.depthNoiseScaleX = jsonobject.optFloat("depthNoiseScaleX",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.depthNoiseScaleZ = jsonobject.optFloat("depthNoiseScaleZ",
|
||||
|
||||
> CHANGE 1 : 4 @ 1 : 4
|
||||
|
||||
~ chunkprovidersettings$factory.depthNoiseScaleExponent = jsonobject.optFloat("depthNoiseScaleExponent",
|
||||
~ chunkprovidersettings$factory.depthNoiseScaleExponent);
|
||||
~ chunkprovidersettings$factory.mainNoiseScaleX = jsonobject.optFloat("mainNoiseScaleX",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.mainNoiseScaleY = jsonobject.optFloat("mainNoiseScaleY",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.mainNoiseScaleZ = jsonobject.optFloat("mainNoiseScaleZ",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.baseSize = jsonobject.optFloat("baseSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.stretchY = jsonobject.optFloat("stretchY",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.biomeDepthWeight = jsonobject.optFloat("biomeDepthWeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.biomeDepthOffset = jsonobject.optFloat("biomeDepthOffset",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.biomeScaleWeight = jsonobject.optFloat("biomeScaleWeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.biomeScaleOffset = jsonobject.optFloat("biomeScaleOffset",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.seaLevel = jsonobject.optInt("seaLevel",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useCaves = jsonobject.optBoolean("useCaves",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useDungeons = jsonobject.optBoolean("useDungeons",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dungeonChance = jsonobject.optInt("dungeonChance",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useStrongholds = jsonobject.optBoolean("useStrongholds",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useVillages = jsonobject.optBoolean("useVillages",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useMineShafts = jsonobject.optBoolean("useMineShafts",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useTemples = jsonobject.optBoolean("useTemples",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useMonuments = jsonobject.optBoolean("useMonuments",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useRavines = jsonobject.optBoolean("useRavines",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useWaterLakes = jsonobject.optBoolean("useWaterLakes",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.waterLakeChance = jsonobject.optInt("waterLakeChance",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useLavaLakes = jsonobject.optBoolean("useLavaLakes",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lavaLakeChance = jsonobject.optInt("lavaLakeChance",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.useLavaOceans = jsonobject.optBoolean("useLavaOceans",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.fixedBiome = jsonobject.optInt("fixedBiome",
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ chunkprovidersettings$factory.biomeSize = jsonobject.optInt("biomeSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.riverSize = jsonobject.optInt("riverSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dirtSize = jsonobject.optInt("dirtSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dirtCount = jsonobject.optInt("dirtCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dirtMinHeight = jsonobject.optInt("dirtMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dirtMaxHeight = jsonobject.optInt("dirtMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.gravelSize = jsonobject.optInt("gravelSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.gravelCount = jsonobject.optInt("gravelCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.gravelMinHeight = jsonobject.optInt("gravelMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.gravelMaxHeight = jsonobject.optInt("gravelMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.graniteSize = jsonobject.optInt("graniteSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.graniteCount = jsonobject.optInt("graniteCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.graniteMinHeight = jsonobject.optInt("graniteMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.graniteMaxHeight = jsonobject.optInt("graniteMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dioriteSize = jsonobject.optInt("dioriteSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dioriteCount = jsonobject.optInt("dioriteCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dioriteMinHeight = jsonobject.optInt("dioriteMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.dioriteMaxHeight = jsonobject.optInt("dioriteMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.andesiteSize = jsonobject.optInt("andesiteSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.andesiteCount = jsonobject.optInt("andesiteCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.andesiteMinHeight = jsonobject.optInt("andesiteMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.andesiteMaxHeight = jsonobject.optInt("andesiteMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.coalSize = jsonobject.optInt("coalSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.coalCount = jsonobject.optInt("coalCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.coalMinHeight = jsonobject.optInt("coalMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.coalMaxHeight = jsonobject.optInt("coalMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.ironSize = jsonobject.optInt("ironSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.ironCount = jsonobject.optInt("ironCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.ironMinHeight = jsonobject.optInt("ironMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.ironMaxHeight = jsonobject.optInt("ironMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.goldSize = jsonobject.optInt("goldSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.goldCount = jsonobject.optInt("goldCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.goldMinHeight = jsonobject.optInt("goldMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.goldMaxHeight = jsonobject.optInt("goldMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.redstoneSize = jsonobject.optInt("redstoneSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.redstoneCount = jsonobject.optInt("redstoneCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.redstoneMinHeight = jsonobject.optInt("redstoneMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.redstoneMaxHeight = jsonobject.optInt("redstoneMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.diamondSize = jsonobject.optInt("diamondSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.diamondCount = jsonobject.optInt("diamondCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.diamondMinHeight = jsonobject.optInt("diamondMinHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.diamondMaxHeight = jsonobject.optInt("diamondMaxHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lapisSize = jsonobject.optInt("lapisSize",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lapisCount = jsonobject.optInt("lapisCount",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lapisCenterHeight = jsonobject.optInt("lapisCenterHeight",
|
||||
|
||||
> CHANGE 1 : 2 @ 1 : 2
|
||||
|
||||
~ chunkprovidersettings$factory.lapisSpread = jsonobject.optInt("lapisSpread",
|
||||
|
||||
> CHANGE 8 : 88 @ 8 : 89
|
||||
|
||||
~ public JSONObject serialize(ChunkProviderSettings.Factory parFactory) throws JSONException {
|
||||
~ JSONObject jsonobject = new JSONObject();
|
||||
~ jsonobject.put("coordinateScale", Float.valueOf(parFactory.coordinateScale));
|
||||
~ jsonobject.put("heightScale", Float.valueOf(parFactory.heightScale));
|
||||
~ jsonobject.put("lowerLimitScale", Float.valueOf(parFactory.lowerLimitScale));
|
||||
~ jsonobject.put("upperLimitScale", Float.valueOf(parFactory.upperLimitScale));
|
||||
~ jsonobject.put("depthNoiseScaleX", Float.valueOf(parFactory.depthNoiseScaleX));
|
||||
~ jsonobject.put("depthNoiseScaleZ", Float.valueOf(parFactory.depthNoiseScaleZ));
|
||||
~ jsonobject.put("depthNoiseScaleExponent", Float.valueOf(parFactory.depthNoiseScaleExponent));
|
||||
~ jsonobject.put("mainNoiseScaleX", Float.valueOf(parFactory.mainNoiseScaleX));
|
||||
~ jsonobject.put("mainNoiseScaleY", Float.valueOf(parFactory.mainNoiseScaleY));
|
||||
~ jsonobject.put("mainNoiseScaleZ", Float.valueOf(parFactory.mainNoiseScaleZ));
|
||||
~ jsonobject.put("baseSize", Float.valueOf(parFactory.baseSize));
|
||||
~ jsonobject.put("stretchY", Float.valueOf(parFactory.stretchY));
|
||||
~ jsonobject.put("biomeDepthWeight", Float.valueOf(parFactory.biomeDepthWeight));
|
||||
~ jsonobject.put("biomeDepthOffset", Float.valueOf(parFactory.biomeDepthOffset));
|
||||
~ jsonobject.put("biomeScaleWeight", Float.valueOf(parFactory.biomeScaleWeight));
|
||||
~ jsonobject.put("biomeScaleOffset", Float.valueOf(parFactory.biomeScaleOffset));
|
||||
~ jsonobject.put("seaLevel", Integer.valueOf(parFactory.seaLevel));
|
||||
~ jsonobject.put("useCaves", Boolean.valueOf(parFactory.useCaves));
|
||||
~ jsonobject.put("useDungeons", Boolean.valueOf(parFactory.useDungeons));
|
||||
~ jsonobject.put("dungeonChance", Integer.valueOf(parFactory.dungeonChance));
|
||||
~ jsonobject.put("useStrongholds", Boolean.valueOf(parFactory.useStrongholds));
|
||||
~ jsonobject.put("useVillages", Boolean.valueOf(parFactory.useVillages));
|
||||
~ jsonobject.put("useMineShafts", Boolean.valueOf(parFactory.useMineShafts));
|
||||
~ jsonobject.put("useTemples", Boolean.valueOf(parFactory.useTemples));
|
||||
~ jsonobject.put("useMonuments", Boolean.valueOf(parFactory.useMonuments));
|
||||
~ jsonobject.put("useRavines", Boolean.valueOf(parFactory.useRavines));
|
||||
~ jsonobject.put("useWaterLakes", Boolean.valueOf(parFactory.useWaterLakes));
|
||||
~ jsonobject.put("waterLakeChance", Integer.valueOf(parFactory.waterLakeChance));
|
||||
~ jsonobject.put("useLavaLakes", Boolean.valueOf(parFactory.useLavaLakes));
|
||||
~ jsonobject.put("lavaLakeChance", Integer.valueOf(parFactory.lavaLakeChance));
|
||||
~ jsonobject.put("useLavaOceans", Boolean.valueOf(parFactory.useLavaOceans));
|
||||
~ jsonobject.put("fixedBiome", Integer.valueOf(parFactory.fixedBiome));
|
||||
~ jsonobject.put("biomeSize", Integer.valueOf(parFactory.biomeSize));
|
||||
~ jsonobject.put("riverSize", Integer.valueOf(parFactory.riverSize));
|
||||
~ jsonobject.put("dirtSize", Integer.valueOf(parFactory.dirtSize));
|
||||
~ jsonobject.put("dirtCount", Integer.valueOf(parFactory.dirtCount));
|
||||
~ jsonobject.put("dirtMinHeight", Integer.valueOf(parFactory.dirtMinHeight));
|
||||
~ jsonobject.put("dirtMaxHeight", Integer.valueOf(parFactory.dirtMaxHeight));
|
||||
~ jsonobject.put("gravelSize", Integer.valueOf(parFactory.gravelSize));
|
||||
~ jsonobject.put("gravelCount", Integer.valueOf(parFactory.gravelCount));
|
||||
~ jsonobject.put("gravelMinHeight", Integer.valueOf(parFactory.gravelMinHeight));
|
||||
~ jsonobject.put("gravelMaxHeight", Integer.valueOf(parFactory.gravelMaxHeight));
|
||||
~ jsonobject.put("graniteSize", Integer.valueOf(parFactory.graniteSize));
|
||||
~ jsonobject.put("graniteCount", Integer.valueOf(parFactory.graniteCount));
|
||||
~ jsonobject.put("graniteMinHeight", Integer.valueOf(parFactory.graniteMinHeight));
|
||||
~ jsonobject.put("graniteMaxHeight", Integer.valueOf(parFactory.graniteMaxHeight));
|
||||
~ jsonobject.put("dioriteSize", Integer.valueOf(parFactory.dioriteSize));
|
||||
~ jsonobject.put("dioriteCount", Integer.valueOf(parFactory.dioriteCount));
|
||||
~ jsonobject.put("dioriteMinHeight", Integer.valueOf(parFactory.dioriteMinHeight));
|
||||
~ jsonobject.put("dioriteMaxHeight", Integer.valueOf(parFactory.dioriteMaxHeight));
|
||||
~ jsonobject.put("andesiteSize", Integer.valueOf(parFactory.andesiteSize));
|
||||
~ jsonobject.put("andesiteCount", Integer.valueOf(parFactory.andesiteCount));
|
||||
~ jsonobject.put("andesiteMinHeight", Integer.valueOf(parFactory.andesiteMinHeight));
|
||||
~ jsonobject.put("andesiteMaxHeight", Integer.valueOf(parFactory.andesiteMaxHeight));
|
||||
~ jsonobject.put("coalSize", Integer.valueOf(parFactory.coalSize));
|
||||
~ jsonobject.put("coalCount", Integer.valueOf(parFactory.coalCount));
|
||||
~ jsonobject.put("coalMinHeight", Integer.valueOf(parFactory.coalMinHeight));
|
||||
~ jsonobject.put("coalMaxHeight", Integer.valueOf(parFactory.coalMaxHeight));
|
||||
~ jsonobject.put("ironSize", Integer.valueOf(parFactory.ironSize));
|
||||
~ jsonobject.put("ironCount", Integer.valueOf(parFactory.ironCount));
|
||||
~ jsonobject.put("ironMinHeight", Integer.valueOf(parFactory.ironMinHeight));
|
||||
~ jsonobject.put("ironMaxHeight", Integer.valueOf(parFactory.ironMaxHeight));
|
||||
~ jsonobject.put("goldSize", Integer.valueOf(parFactory.goldSize));
|
||||
~ jsonobject.put("goldCount", Integer.valueOf(parFactory.goldCount));
|
||||
~ jsonobject.put("goldMinHeight", Integer.valueOf(parFactory.goldMinHeight));
|
||||
~ jsonobject.put("goldMaxHeight", Integer.valueOf(parFactory.goldMaxHeight));
|
||||
~ jsonobject.put("redstoneSize", Integer.valueOf(parFactory.redstoneSize));
|
||||
~ jsonobject.put("redstoneCount", Integer.valueOf(parFactory.redstoneCount));
|
||||
~ jsonobject.put("redstoneMinHeight", Integer.valueOf(parFactory.redstoneMinHeight));
|
||||
~ jsonobject.put("redstoneMaxHeight", Integer.valueOf(parFactory.redstoneMaxHeight));
|
||||
~ jsonobject.put("diamondSize", Integer.valueOf(parFactory.diamondSize));
|
||||
~ jsonobject.put("diamondCount", Integer.valueOf(parFactory.diamondCount));
|
||||
~ jsonobject.put("diamondMinHeight", Integer.valueOf(parFactory.diamondMinHeight));
|
||||
~ jsonobject.put("diamondMaxHeight", Integer.valueOf(parFactory.diamondMaxHeight));
|
||||
~ jsonobject.put("lapisSize", Integer.valueOf(parFactory.lapisSize));
|
||||
~ jsonobject.put("lapisCount", Integer.valueOf(parFactory.lapisCount));
|
||||
~ jsonobject.put("lapisCenterHeight", Integer.valueOf(parFactory.lapisCenterHeight));
|
||||
~ jsonobject.put("lapisSpread", Integer.valueOf(parFactory.lapisSpread));
|
||||
|
||||
> EOF
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> DELETE 2 @ 2 : 4
|
||||
|
||||
> INSERT 5 : 10 @ 5
|
||||
|
||||
+ import java.util.Set;
|
||||
+
|
||||
+ import com.google.common.collect.Lists;
|
||||
+ import com.google.common.collect.Maps;
|
||||
+
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 25 : 27 @ 25 : 26
|
||||
|
||||
~ for (int j = 0, l = this.flatLayers.size(); j < l; ++j) {
|
||||
~ FlatLayerInfo flatlayerinfo = this.flatLayers.get(j);
|
||||
|
||||
> CHANGE 36 : 37 @ 36 : 37
|
||||
|
||||
~ for (Entry entry1 : (Set<Entry>) map.entrySet()) {
|
||||
|
||||
> CHANGE 88 : 90 @ 88 : 90
|
||||
|
||||
~ for (int j = 0; j < astring.length; ++j) {
|
||||
~ FlatLayerInfo flatlayerinfo = func_180715_a(parInt1, astring[j], i);
|
||||
|
||||
> CHANGE 36 : 38 @ 36 : 38
|
||||
|
||||
~ for (int m = 0; m < astring1.length; ++m) {
|
||||
~ String[] astring2 = astring1[m].split("\\(", 2);
|
||||
|
||||
> EOF
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> INSERT 6 : 7 @ 6
|
||||
|
||||
+
|
||||
|
||||
> CHANGE 6 : 7 @ 6 : 7
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 6 : 7 @ 6 : 7
|
||||
|
||||
~ protected EaglercraftRandom rand;
|
||||
|
||||
> INSERT 2 : 10 @ 2
|
||||
|
||||
+ public MapGenBase() {
|
||||
+ this(true);
|
||||
+ }
|
||||
+
|
||||
+ public MapGenBase(boolean scramble) {
|
||||
+ rand = new EaglercraftRandom(scramble);
|
||||
+ }
|
||||
+
|
||||
|
||||
> EOF
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 8 @ 8 : 9
|
||||
|
||||
> INSERT 2 : 7 @ 2
|
||||
|
||||
+
|
||||
+ public MapGenCaves(boolean scramble) {
|
||||
+ super(scramble);
|
||||
+ }
|
||||
+
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ EaglercraftRandom random = new EaglercraftRandom(parLong1, this.rand.isScramble());
|
||||
|
||||
> EOF
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> INSERT 2 : 7 @ 2
|
||||
|
||||
+
|
||||
+ public MapGenCavesHell(boolean scramble) {
|
||||
+ super(scramble);
|
||||
+ }
|
||||
+
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ EaglercraftRandom random = new EaglercraftRandom(parLong1, this.rand.isScramble());
|
||||
|
||||
> EOF
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> INSERT 4 : 8 @ 4
|
||||
|
||||
+ public MapGenRavine(boolean scramble) {
|
||||
+ super(scramble);
|
||||
+ }
|
||||
+
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ EaglercraftRandom random = new EaglercraftRandom(parLong1, this.rand.isScramble());
|
||||
|
||||
> EOF
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 18 : 19 @ 18 : 19
|
||||
|
||||
~ this(new EaglercraftRandom());
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public NoiseGeneratorImproved(EaglercraftRandom parRandom) {
|
||||
|
||||
> EOF
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
~
|
||||
|
||||
> DELETE 1 @ 1 : 3
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ public NoiseGeneratorOctaves(EaglercraftRandom parRandom, int parInt1) {
|
||||
|
||||
> EOF
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 5 : 6 @ 5 : 6
|
||||
|
||||
~ public NoiseGeneratorPerlin(EaglercraftRandom parRandom, int parInt1) {
|
||||
|
||||
> EOF
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 14 : 15 @ 14 : 15
|
||||
|
||||
~ this(new EaglercraftRandom());
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public NoiseGeneratorSimplex(EaglercraftRandom parRandom) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ public void func_180711_a(World worldIn, EaglercraftRandom parRandom, BlockPos parBlockPos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 9 @ 9 : 10
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ private EaglercraftRandom rand;
|
||||
|
||||
> CHANGE 37 : 39 @ 37 : 39
|
||||
|
||||
~ double d0 = this.scaleWidth * (double) f * ((double) rand.nextFloat() + 0.328D);
|
||||
~ double d1 = (double) (rand.nextFloat() * 2.0F) * 3.141592653589793D;
|
||||
|
||||
> CHANGE 111 : 113 @ 111 : 113
|
||||
|
||||
~ for (int i = 0, l = this.field_175948_j.size(); i < l; ++i) {
|
||||
~ this.generateLeafNode(this.field_175948_j.get(i));
|
||||
|
||||
> CHANGE 22 : 24 @ 22 : 23
|
||||
|
||||
~ for (int j = 0, l = this.field_175948_j.size(); j < l; ++j) {
|
||||
~ WorldGenBigTree.FoliageCoordinates worldgenbigtree$foliagecoordinates = this.field_175948_j.get(j);
|
||||
|
||||
> CHANGE 35 : 36 @ 35 : 36
|
||||
|
||||
~ public boolean generate(World worldIn, EaglercraftRandom rand, BlockPos position) {
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ this.rand = new EaglercraftRandom(rand.nextLong(), !worldIn.getWorldInfo().isOldEaglercraftRandom());
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 11 @ 11 : 12
|
||||
|
||||
> CHANGE 12 : 13 @ 12 : 13
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 9 @ 9 : 10
|
||||
|
||||
> CHANGE 10 : 11 @ 10 : 11
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom var2, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 25 : 28 @ 25 : 27
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int i = 0; i < facings.length; ++i) {
|
||||
~ world.setBlockState(blockpos.offset(facings[i]), this.field_175910_d, 2);
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 4 : 5 @ 4 : 5
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> CHANGE 10 : 12 @ 10 : 13
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
|
||||
~ import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
|
||||
|
||||
> CHANGE 21 : 22 @ 21 : 22
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 66 : 69 @ 66 : 68
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing.Plane.HORIZONTAL.facingsArray;
|
||||
~ for (int m = 0; m < facings.length; ++m) {
|
||||
~ if (world.getBlockState(blockpos3.offset(facings[m])).getBlock().getMaterial().isSolid()) {
|
||||
|
||||
> CHANGE 35 : 36 @ 35 : 36
|
||||
|
||||
~ private String pickMobSpawner(EaglercraftRandom parRandom) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 15 : 16 @ 15 : 16
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 9 @ 9 : 10
|
||||
|
||||
> CHANGE 14 : 15 @ 14 : 15
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
~ BlockPos tmp;
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ } else if (world.getBlockState(blockpos.offsetEvenFaster(EnumFacing.UP, tmp = new BlockPos(0, 0, 0)))
|
||||
~ .getBlock() != Blocks.netherrack) {
|
||||
|
||||
> CHANGE 10 : 14 @ 10 : 12
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ for (int k = 0; k < facings.length; ++k) {
|
||||
~ if (world.getBlockState(blockpos1.offsetEvenFaster(facings[k], tmp))
|
||||
~ .getBlock() == Blocks.glowstone) {
|
||||
|
||||
> EOF
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
~ BlockPos tmp;
|
||||
|
||||
> CHANGE 2 : 4 @ 2 : 3
|
||||
|
||||
~ } else if (world.getBlockState(blockpos.offsetEvenFaster(EnumFacing.UP, tmp = new BlockPos(0, 0, 0)))
|
||||
~ .getBlock() != Blocks.netherrack) {
|
||||
|
||||
> CHANGE 10 : 14 @ 10 : 12
|
||||
|
||||
~ EnumFacing[] facings = EnumFacing._VALUES;
|
||||
~ for (int k = 0; k < facings.length; ++k) {
|
||||
~ if (world.getBlockState(blockpos1.offsetEvenFaster(facings[k], tmp))
|
||||
~ .getBlock() == Blocks.glowstone) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 10 : 11 @ 10 : 11
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ protected int func_150533_a(EaglercraftRandom parRandom) {
|
||||
|
||||
> CHANGE 49 : 50 @ 49 : 50
|
||||
|
||||
~ protected boolean func_175929_a(World worldIn, EaglercraftRandom parRandom, BlockPos parBlockPos, int parInt1) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 9 : 10 @ 9 : 10
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 7 @ 7 : 8
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 8 : 9 @ 8 : 9
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 7 @ 7 : 8
|
||||
|
||||
> CHANGE 7 : 8 @ 7 : 8
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 71 : 73 @ 71 : 72
|
||||
|
||||
~ private void func_181632_a(World parWorld, EaglercraftRandom parRandom, BlockPos parBlockPos,
|
||||
~ PropertyBool parPropertyBool) {
|
||||
|
||||
> EOF
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 12 @ 12 : 13
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> CHANGE 34 : 36 @ 34 : 35
|
||||
|
||||
~ private void func_150541_c(World worldIn, int parInt1, int parInt2, int parInt3, int parInt4,
|
||||
~ EaglercraftRandom parRandom) {
|
||||
|
||||
> CHANGE 13 : 14 @ 13 : 14
|
||||
|
||||
~ public void func_180711_a(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 3 @ 3 : 4
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 3 : 4 @ 3 : 4
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 16 : 17 @ 16 : 17
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 4 @ 4 : 5
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 5 @ 5 : 6
|
||||
|
||||
> CHANGE 10 : 11 @ 10 : 11
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 11 @ 11 : 12
|
||||
|
||||
> CHANGE 12 : 13 @ 12 : 13
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
|
||||
# Eagler Context Redacted Diff
|
||||
# Copyright (c) 2024 lax1dude. All rights reserved.
|
||||
|
||||
# Version: 1.0
|
||||
# Author: lax1dude
|
||||
|
||||
> CHANGE 2 : 3 @ 2 : 3
|
||||
|
||||
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
||||
|
||||
> DELETE 6 @ 6 : 7
|
||||
|
||||
> CHANGE 11 : 12 @ 11 : 12
|
||||
|
||||
~ public boolean generate(World world, EaglercraftRandom random, BlockPos blockpos) {
|
||||
|
||||
> EOF
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user