This commit is contained in:
HoosierTransfer 2024-03-21 15:05:07 -04:00
parent d9ef7a1144
commit 08d01ecc2d
4 changed files with 23081 additions and 23071 deletions

1
compile proguard Normal file
View File

@ -0,0 +1 @@
./bin/proguard.bat -injars eaglercraft-workspace.jar -outjars skibidi.jar -libraryjars "C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\jmods\java.base.jmod" -libraryjars "C:\Users\HoosierTransfer\Downloads\hoosiertransfer-mod-u24\teavm-jso-0.9.2.jar" -libraryjars "C:\Users\HoosierTransfer\Downloads\hoosiertransfer-mod-u24\teavm-jso-apis-0.9.2.jar" -libraryjars "C:\Users\HoosierTransfer\Downloads\hoosiertransfer-mod-u24\teavm-interop-0.9.2.jar" -libraryjars "C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\jmods\java.logging.jmod" -libraryjars "C:\Users\HoosierTransfer\Downloads\hoosiertransfer-mod-u24\jzlib-1.1.3.jar" -keep "class net.minecraft.client.main.Main { *; }" -keepnames "class *" -keepnames "enum *" -keepnames "interface *" -forceprocessing -dontshrink

File diff suppressed because it is too large Load Diff

View File

@ -195,8 +195,9 @@ public class BlockTrapDoor extends Block {
* Check whether this Block can be placed on the given side
*/
public boolean canPlaceBlockOnSide(World world, BlockPos blockpos, EnumFacing enumfacing) {
return !enumfacing.getAxis().isVertical()
&& isValidSupportBlock(world.getBlockState(blockpos.offset(enumfacing.getOpposite())).getBlock());
// Hoosiertransfer mod
// this is a feature from newer versions of minecraft
return !enumfacing.getAxis().isVertical();
}
protected static EnumFacing getFacing(int meta) {

View File

@ -12,22 +12,31 @@ import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer;
import net.minecraft.client.renderer.GLAllocation;
import net.minecraft.client.renderer.Tessellator;
/**+
/**
* +
* This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code.
*
* Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!"
* Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team
*
* EaglercraftX 1.8 patch files (c) 2022-2024 lax1dude, ayunami2000. All Rights Reserved.
* EaglercraftX 1.8 patch files (c) 2022-2024 lax1dude, ayunami2000. All Rights
* Reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
@ -76,7 +85,8 @@ public class ModelRenderer {
this.setTextureOffset(texOffX, texOffY);
}
/**+
/**
* +
* Sets the current box's rotation points and rotation angles to
* another box.
*/
@ -94,7 +104,8 @@ public class ModelRenderer {
return this;
}
/**+
/**
* +
* Creates a textured box. Args: originX, originY, originZ,
* width, height, depth, scaleFactor.
*/
@ -107,7 +118,8 @@ public class ModelRenderer {
return this;
}
/**+
/**
* +
* Creates a textured box. Args: originX, originY, originZ,
* width, height, depth, scaleFactor.
*/
@ -117,7 +129,8 @@ public class ModelRenderer {
return this;
}
/**+
/**
* +
* Creates a textured box. Args: originX, originY, originZ,
* width, height, depth, scaleFactor.
*/
@ -128,7 +141,8 @@ public class ModelRenderer {
return this;
}
/**+
/**
* +
* Creates a textured box. Args: originX, originY, originZ,
* width, height, depth, scaleFactor.
*/
@ -145,8 +159,7 @@ public class ModelRenderer {
}
public void render(float parFloat1) {
if (!this.isHidden) {
if (this.showModel) {
if (!this.isHidden && this.showModel) {
if (!this.compiled) {
this.compileDisplayList(parFloat1);
}
@ -202,11 +215,9 @@ public class ModelRenderer {
GlStateManager.translate(-this.offsetX, -this.offsetY, -this.offsetZ);
}
}
}
public void renderWithRotation(float parFloat1) {
if (!this.isHidden) {
if (this.showModel) {
if (!this.isHidden && this.showModel) {
if (!this.compiled) {
this.compileDisplayList(parFloat1);
}
@ -230,14 +241,13 @@ public class ModelRenderer {
GlStateManager.popMatrix();
}
}
}
/**+
/**
* +
* Allows the changing of Angles after a box has been rendered
*/
public void postRender(float scale) {
if (!this.isHidden) {
if (this.showModel) {
if (!this.isHidden && this.showModel) {
if (!this.compiled) {
this.compileDisplayList(scale);
}
@ -262,12 +272,11 @@ public class ModelRenderer {
GlStateManager.rotate(this.rotateAngleX * 57.295776F, 1.0F, 0.0F, 0.0F);
}
}
}
}
}
/**+
/**
* +
* Compiles a GL display list for this model
*/
private void compileDisplayList(float scale) {
@ -283,7 +292,8 @@ public class ModelRenderer {
this.compiled = true;
}
/**+
/**
* +
* Returns the model renderer with the new texture parameters.
*/
public ModelRenderer setTextureSize(int textureWidthIn, int textureHeightIn) {