-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remap primitive to Nostalgia mappings
- Loading branch information
Showing
8 changed files
with
51 additions
and
38 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
14 changes: 7 additions & 7 deletions
14
primitive/src/main/java/dev/nolij/zume/mixin/primitive/GameRendererAccessor.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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package dev.nolij.zume.mixin.primitive; | ||
|
||
import net.minecraft.class_555; | ||
import net.minecraft.client.util.SmoothUtil; | ||
import net.minecraft.client.renderer.GameRenderer; | ||
import net.minecraft.util.SmoothFloat; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
@Mixin(class_555.class) | ||
@Mixin(GameRenderer.class) | ||
public interface GameRendererAccessor { | ||
|
||
@Accessor("field_2353") | ||
void setCinematicYawSmoother(SmoothUtil value); | ||
@Accessor("field_2354") | ||
void setCinematicPitchSmoother(SmoothUtil value); | ||
@Accessor("smoothTurnX") | ||
void setSmoothTurnX(SmoothFloat value); | ||
@Accessor("smoothTurnY") | ||
void setSmoothTurnY(SmoothFloat value); | ||
|
||
} |
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