1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-13 19:57:12 +00:00

move remappedSrc to src/main/java

This commit is contained in:
Merith
2021-07-11 01:40:01 +00:00
parent 9bc4e9530c
commit 14e013d075
495 changed files with 263 additions and 54944 deletions

View File

@@ -6,7 +6,7 @@
package dan200.computercraft.shared.util;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.network.PacketByteBuf;
public class Palette
@@ -83,7 +83,7 @@ public class Palette
}
}
public CompoundTag writeToNBT( CompoundTag nbt )
public NbtCompound writeToNBT( NbtCompound nbt )
{
int[] rgb8 = new int[colours.length];
@@ -105,7 +105,7 @@ public class Palette
return (r << 16) | (g << 8) | b;
}
public void readFromNBT( CompoundTag nbt )
public void readFromNBT( NbtCompound nbt )
{
if( !nbt.contains( "term_palette" ) )
{