mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 14:34:22 +00:00
Fix JABBA-related issues with crafting station slots (#54)
* Fix shift-merging tools voiding items fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11392> * Change 0-sized ItemStacks into null stacks in crafting station attached slots Fixes <https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10425> * Update buildscript * spotlessApply
This commit is contained in:
1 parent
18bfeaff32
commit
39be06c23b
571 files changed
+25959
-28223
No files matched your search
@@ -1,16 +1,14 @@
|
||||
package tconstruct.library.client;
|
||||
|
||||
public class FluidRenderProperties
|
||||
{
|
||||
public class FluidRenderProperties {
|
||||
|
||||
//Constant defaults
|
||||
// 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)
|
||||
{
|
||||
public FluidRenderProperties(float minHeight, float maxHeight, float minX, float maxX, float minZ, float maxZ) {
|
||||
this.minHeight = minHeight;
|
||||
this.maxHeight = maxHeight;
|
||||
this.minX = minX;
|
||||
@@ -19,39 +17,32 @@ public class FluidRenderProperties
|
||||
this.maxZ = maxZ;
|
||||
}
|
||||
|
||||
public FluidRenderProperties(float minHeight, float maxHeight, Applications defaults)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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.062F, 0.9375F), BASIN(0.25F, 0.95F, 0.0625F, 0.9375F, 0.0625F, 0.9375F);
|
||||
|
||||
public static enum Applications {
|
||||
TABLE(0.9375F, 1F, 0.0625F, 0.9375F, 0.062F, 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)
|
||||
{
|
||||
Applications(float minHeight, float maxHeight, float minX, float maxX, float minZ, float maxZ) {
|
||||
this.minHeight = minHeight;
|
||||
this.maxHeight = maxHeight;
|
||||
this.minX = minX;
|
||||
@@ -60,4 +51,4 @@ public class FluidRenderProperties
|
||||
this.maxZ = maxZ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user