--- a/net/minecraft/world/level/chunk/DataLayer.java
+++ b/net/minecraft/world/level/chunk/DataLayer.java
@@ -1,3 +1,4 @@
+// mc-dev import
 package net.minecraft.world.level.chunk;
 
 import java.util.Arrays;
@@ -6,6 +7,7 @@
 import net.minecraft.util.VisibleForDebug;
 
 public class DataLayer {
+
     public static final int LAYER_COUNT = 16;
     public static final int LAYER_SIZE = 128;
     public static final int SIZE = 2048;
@@ -26,16 +28,16 @@
         this.data = bytes;
         this.defaultValue = 0;
         if (bytes.length != 2048) {
-            throw (IllegalArgumentException)Util.pauseInIde(new IllegalArgumentException("DataLayer should be 2048 bytes not: " + bytes.length));
+            throw (IllegalArgumentException) Util.pauseInIde(new IllegalArgumentException("DataLayer should be 2048 bytes not: " + bytes.length));
         }
     }
 
     public int get(int x, int y, int z) {
-        return this.get(getIndex(x, y, z));
+        return this.get(DataLayer.getIndex(x, y, z));
     }
 
     public void set(int x, int y, int z, int value) {
-        this.set(getIndex(x, y, z), value);
+        this.set(DataLayer.getIndex(x, y, z), value);
     }
 
     private static int getIndex(int x, int y, int z) {
@@ -46,19 +48,21 @@
         if (this.data == null) {
             return this.defaultValue;
         } else {
-            int i = getByteIndex(index);
-            int j = getNibbleIndex(index);
-            return this.data[i] >> 4 * j & 15;
+            int j = DataLayer.getByteIndex(index);
+            int k = DataLayer.getNibbleIndex(index);
+
+            return this.data[j] >> 4 * k & 15;
         }
     }
 
     private void set(int index, int value) {
-        byte[] bs = this.getData();
-        int i = getByteIndex(index);
-        int j = getNibbleIndex(index);
-        int k = ~(15 << 4 * j);
-        int l = (value & 15) << 4 * j;
-        bs[i] = (byte)(bs[i] & k | l);
+        byte[] abyte = this.getData();
+        int k = DataLayer.getByteIndex(index);
+        int l = DataLayer.getNibbleIndex(index);
+        int i1 = ~(15 << 4 * l);
+        int j1 = (value & 15) << 4 * l;
+
+        abyte[k] = (byte) (abyte[k] & i1 | j1);
     }
 
     private static int getNibbleIndex(int i) {
@@ -75,20 +79,20 @@
     }
 
     private static byte packFilled(int value) {
-        byte b = (byte)value;
+        byte b0 = (byte) value;
 
-        for (int i = 4; i < 8; i += 4) {
-            b = (byte)(b | value << i);
+        for (int j = 4; j < 8; j += 4) {
+            b0 = (byte) (b0 | value << j);
         }
 
-        return b;
+        return b0;
     }
 
     public byte[] getData() {
         if (this.data == null) {
             this.data = new byte[2048];
             if (this.defaultValue != 0) {
-                Arrays.fill(this.data, packFilled(this.defaultValue));
+                Arrays.fill(this.data, DataLayer.packFilled(this.defaultValue));
             }
         }
 
@@ -96,39 +100,38 @@
     }
 
     public DataLayer copy() {
-        return this.data == null ? new DataLayer(this.defaultValue) : new DataLayer((byte[])this.data.clone());
+        return this.data == null ? new DataLayer(this.defaultValue) : new DataLayer((byte[]) this.data.clone());
     }
 
-    @Override
     public String toString() {
-        StringBuilder stringBuilder = new StringBuilder();
+        StringBuilder stringbuilder = new StringBuilder();
 
-        for (int i = 0; i < 4096; i++) {
-            stringBuilder.append(Integer.toHexString(this.get(i)));
+        for (int i = 0; i < 4096; ++i) {
+            stringbuilder.append(Integer.toHexString(this.get(i)));
             if ((i & 15) == 15) {
-                stringBuilder.append("\n");
+                stringbuilder.append("\n");
             }
 
-            if ((i & 0xFF) == 255) {
-                stringBuilder.append("\n");
+            if ((i & 255) == 255) {
+                stringbuilder.append("\n");
             }
         }
 
-        return stringBuilder.toString();
+        return stringbuilder.toString();
     }
 
     @VisibleForDebug
     public String layerToString(int unused) {
-        StringBuilder stringBuilder = new StringBuilder();
+        StringBuilder stringbuilder = new StringBuilder();
 
-        for (int i = 0; i < 256; i++) {
-            stringBuilder.append(Integer.toHexString(this.get(i)));
-            if ((i & 15) == 15) {
-                stringBuilder.append("\n");
+        for (int j = 0; j < 256; ++j) {
+            stringbuilder.append(Integer.toHexString(this.get(j)));
+            if ((j & 15) == 15) {
+                stringbuilder.append("\n");
             }
         }
 
-        return stringBuilder.toString();
+        return stringbuilder.toString();
     }
 
     public boolean isDefinitelyHomogenous() {
