mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
Initial test of Gradle (not working yet)
This commit is contained in:
1 parent
e8b7378831
commit
cb87c836c8
519 files changed
+351
No files matched your search
@@ -0,0 +1,63 @@
|
||||
package tconstruct.library.client;
|
||||
|
||||
public class FluidRenderProperties
|
||||
{
|
||||
|
||||
//Constant defaults
|
||||
public static final FluidRenderProperties DEFAULT_TABLE = new FluidRenderProperties(Applications.TABLE);
|
||||
public static final FluidRenderProperties DEFAULT_BASIN = new FluidRenderProperties(Applications.BASIN);
|
||||
|
||||
public float minHeight, maxHeight, minX, maxX, minZ, maxZ;
|
||||
|
||||
public FluidRenderProperties(float minHeight, float maxHeight, float minX, float maxX, float minZ, float maxZ)
|
||||
{
|
||||
this.minHeight = minHeight;
|
||||
this.maxHeight = maxHeight;
|
||||
this.minX = minX;
|
||||
this.maxX = maxX;
|
||||
this.minZ = minZ;
|
||||
this.maxZ = maxZ;
|
||||
}
|
||||
|
||||
public FluidRenderProperties(float minHeight, float maxHeight, Applications defaults)
|
||||
{
|
||||
this(minHeight, maxHeight, defaults.minX, defaults.maxX, defaults.minZ, defaults.maxZ);
|
||||
}
|
||||
|
||||
public FluidRenderProperties(float minHeight, float maxHeight, float minX, float maxX, Applications defaults)
|
||||
{
|
||||
this(minHeight, maxHeight, minX, maxX, defaults.minZ, defaults.maxZ);
|
||||
}
|
||||
|
||||
public FluidRenderProperties(Applications defaults, float minX, float maxX)
|
||||
{
|
||||
this(defaults.minHeight, defaults.maxHeight, minX, maxX, defaults.minZ, defaults.maxZ);
|
||||
}
|
||||
|
||||
public FluidRenderProperties(Applications defaults, float minX, float maxX, float minZ, float maxZ)
|
||||
{
|
||||
this(defaults.minHeight, defaults.maxHeight, minX, maxX, minZ, maxZ);
|
||||
}
|
||||
|
||||
public FluidRenderProperties(Applications defaults)
|
||||
{
|
||||
this(defaults.minHeight, defaults.maxHeight, defaults.minX, defaults.maxX, defaults.minZ, defaults.maxZ);
|
||||
}
|
||||
|
||||
public static enum Applications
|
||||
{
|
||||
TABLE(0.9375F, 1F, 0.0625F, 0.9375F, 0.0625F, 0.9375F), BASIN(0.25F, 0.95F, 0.0625F, 0.9375F, 0.0625F, 0.9375F);
|
||||
|
||||
public float minHeight, maxHeight, minX, maxX, minZ, maxZ;
|
||||
|
||||
Applications(float minHeight, float maxHeight, float minX, float maxX, float minZ, float maxZ)
|
||||
{
|
||||
this.minHeight = minHeight;
|
||||
this.maxHeight = maxHeight;
|
||||
this.minX = minX;
|
||||
this.maxX = maxX;
|
||||
this.minZ = minZ;
|
||||
this.maxZ = maxZ;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user