Updated core

This commit is contained in:
coolGi2007
2021-12-10 01:07:27 +00:00
parent 6f04ddce87
commit 880559f94a
4 changed files with 13 additions and 5 deletions
@@ -241,6 +241,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
{
return block.getName().toString();
}
//--------------//
//Colors getters//
//--------------//
@@ -196,10 +196,10 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
// (0b11111111 << 24); // blue
int col =
(c.getRed() & 0b11111111) + // red
((c.getGreen() & 0b11111111) << 8) + // green
((c.getBlue() & 0b11111111) << 16) + // blue
((c.getAlpha() & 0b11111111) << 24); // alpha
((c.getRed() & 0xFF) << 16) | // blue
((c.getGreen() & 0xFF) << 8) | // green
((c.getBlue() & 0xFF)) | // red
((c.getAlpha() & 0xFF) << 24); // alpha
// 2D array stored in a 1D array.
// Thank you Tim from College ;)
+1 -1
Submodule core updated: cd50be6531...1b82acec9f
@@ -49,3 +49,10 @@ authors="James Seibel, Leonardo Amato, and Cola" #optional
#// The description text for the mod (multi line!) (#mandatory)
description='''This mod generates and renders simplified terrain beyond the normal view distance, at a low performance cost.'''
#// to make mod be not required on forge server
acceptableRemoteVersions="*"
#// to not load on server at all as there is no integration at all
#// TODO remove when we add server support
clientSideOnly=true