-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ead2886
commit 2ef395c
Showing
9 changed files
with
194 additions
and
116 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
194 changes: 104 additions & 90 deletions
194
src/main/java/com/kingcontaria/standardsettings/StandardSettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
18 changes: 18 additions & 0 deletions
18
...in/java/com/kingcontaria/standardsettings/mixins/accessors/BakedModelManagerAccessor.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,18 @@ | ||
package com.kingcontaria.standardsettings.mixins.accessors; | ||
|
||
import net.minecraft.client.render.model.BakedModelManager; | ||
import net.minecraft.client.render.model.ModelLoader; | ||
import net.minecraft.resource.ResourceManager; | ||
import net.minecraft.util.profiler.Profiler; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Invoker; | ||
|
||
@Mixin(BakedModelManager.class) | ||
|
||
public interface BakedModelManagerAccessor { | ||
@Invoker | ||
ModelLoader callPrepare(ResourceManager resourceManager, Profiler profiler); | ||
|
||
@Invoker | ||
void callApply(ModelLoader modelLoader, ResourceManager resourceManager, Profiler profiler); | ||
} |
19 changes: 19 additions & 0 deletions
19
...main/java/com/kingcontaria/standardsettings/mixins/accessors/MinecraftClientAccessor.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,19 @@ | ||
package com.kingcontaria.standardsettings.mixins.accessors; | ||
|
||
import net.minecraft.client.MinecraftClient; | ||
import net.minecraft.util.profiler.ProfileResult; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
import org.spongepowered.asm.mixin.gen.Invoker; | ||
|
||
@Mixin(MinecraftClient.class) | ||
|
||
public interface MinecraftClientAccessor { | ||
@Accessor | ||
void setOpenProfilerSection(String value); | ||
@Accessor | ||
String getOpenProfilerSection(); | ||
|
||
@Invoker | ||
void callInitFont(boolean forcesUnicode); | ||
} |
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