generated from Legacy-Fabric/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/1.4.6-forge' into 1.4.7-forge
- Loading branch information
Showing
17 changed files
with
174 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...va/fr/catcore/fabricatedforge/mixin/forgefml/client/render/optifine/TessellatorMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package fr.catcore.fabricatedforge.mixin.forgefml.client.render.optifine; | ||
|
||
import fr.catcore.fabricatedforge.mixininterface.ITessellator; | ||
import net.minecraft.client.render.Tessellator; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.Shadow; | ||
|
||
@Mixin(Tessellator.class) | ||
public abstract class TessellatorMixin implements ITessellator { | ||
@SuppressWarnings("UnresolvedMixinReference") | ||
@Shadow | ||
public static boolean renderingWorldRenderer; | ||
|
||
@SuppressWarnings("UnresolvedMixinReference") | ||
@Shadow | ||
public boolean defaultTexture; | ||
|
||
@SuppressWarnings("UnresolvedMixinReference") | ||
@Shadow | ||
public int textureID; | ||
|
||
@Override | ||
public boolean defaultTexture() { | ||
return this.defaultTexture; | ||
} | ||
|
||
@Override | ||
public boolean renderingWorldRenderer() { | ||
return renderingWorldRenderer; | ||
} | ||
|
||
@Override | ||
public void renderingWorldRenderer(boolean bool) { | ||
renderingWorldRenderer = bool; | ||
} | ||
|
||
@Override | ||
public void setTextureID(int textureID) { | ||
this.textureID = textureID; | ||
} | ||
|
||
@Override | ||
public int getTextureID() { | ||
return this.textureID; | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
.../fr/catcore/fabricatedforge/mixin/forgefml/client/render/optifine/WorldRendererMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package fr.catcore.fabricatedforge.mixin.forgefml.client.render.optifine; | ||
|
||
import fr.catcore.fabricatedforge.mixininterface.IWorldRenderer; | ||
import net.minecraft.client.render.WorldRenderer; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
|
||
@Mixin(WorldRenderer.class) | ||
public abstract class WorldRendererMixin implements IWorldRenderer { | ||
} |
23 changes: 23 additions & 0 deletions
23
...in/java/fr/catcore/fabricatedforge/mixin/forgefml/entity/mob/optifine/MobEntityMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package fr.catcore.fabricatedforge.mixin.forgefml.entity.mob.optifine; | ||
|
||
import fr.catcore.fabricatedforge.mixininterface.IMobEntity; | ||
import net.minecraft.entity.mob.MobEntity; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.Shadow; | ||
|
||
@Mixin(MobEntity.class) | ||
public abstract class MobEntityMixin implements IMobEntity { | ||
|
||
@Shadow | ||
float field_3344; | ||
|
||
@Override | ||
public float getField_3344() { | ||
return this.field_3344; | ||
} | ||
|
||
@Override | ||
public void setField_3344(float field_3344) { | ||
this.field_3344 = field_3344; | ||
} | ||
} |
Oops, something went wrong.