Updated core
This commit is contained in:
@@ -241,6 +241,7 @@ public class BlockColorWrapper implements IBlockColorWrapper
|
||||
{
|
||||
return block.getName().toString();
|
||||
}
|
||||
|
||||
//--------------//
|
||||
//Colors getters//
|
||||
//--------------//
|
||||
|
||||
+4
-4
@@ -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
|
||||
Reference in New Issue
Block a user