-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Additions - **Cinematic camera mode**, lowers your FOV to make it more akin to a DLSR camera. Can be toggled with `KP_SUBTRACT` (`keypad -`) - Toggle messages now display if it has been toggled on or off. # Fixes - Now use saner keyboard defaults.
- Loading branch information
Showing
21 changed files
with
103 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
25 changes: 25 additions & 0 deletions
25
src/main/java/com/lukeonuke/lukesadditions/additions/Cinematic.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,25 @@ | ||
package com.lukeonuke.lukesadditions.additions; | ||
|
||
import net.minecraft.client.MinecraftClient; | ||
import net.minecraft.client.option.SimpleOption; | ||
import net.minecraft.util.Formatting; | ||
|
||
public class Cinematic extends Toggleable{ | ||
final MinecraftClient client = MinecraftClient.getInstance(); | ||
private int oldFov; | ||
@Override | ||
public void toggleEvent() { | ||
SimpleOption<Integer> fov = client.options.getFov(); | ||
if(isActive()){ | ||
oldFov = fov.getValue(); | ||
fov.setValue(30); | ||
}else { | ||
fov.setValue(oldFov); | ||
} | ||
} | ||
|
||
@Override | ||
public String getNameKey() { | ||
return "gui.lukesAdditions.cinematicName"; | ||
} | ||
} |
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
3 changes: 1 addition & 2 deletions
3
src/main/java/com/lukeonuke/lukesadditions/mixin/ClientPlayNetworkHandlerMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/ClientPlayerInteractionManagerMixin.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
4 changes: 1 addition & 3 deletions
4
src/main/java/com/lukeonuke/lukesadditions/mixin/EntityMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/EntityRenderDispatcherMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/GameOptionsMixin.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
3 changes: 1 addition & 2 deletions
3
src/main/java/com/lukeonuke/lukesadditions/mixin/HeldItemRendererMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/InGameHudMixin.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
4 changes: 0 additions & 4 deletions
4
src/main/java/com/lukeonuke/lukesadditions/mixin/MinecraftClientInvoker.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
3 changes: 1 addition & 2 deletions
3
src/main/java/com/lukeonuke/lukesadditions/mixin/MinecraftClientMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/PlayerEntityRendererMixin.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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/lukeonuke/lukesadditions/mixin/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
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,13 +1,18 @@ | ||
{ | ||
"category.lukesAdditions.bot": "Bot", | ||
"category.lukesAdditions.bot": "Lukes Additions - Bot", | ||
"category.lukesAdditions.additions": "Lukes Additions - Additions", | ||
|
||
"key.lukesAdditions.toggleUseBot": "Toggle Use Bot", | ||
"key.lukesAdditions.toggleAttackBot": "Toggle Attack Bot", | ||
"key.lukesAdditions.toggleFreeCam": "Toggle FreeCam", | ||
"key.lukesAdditions.toggleCinematic": "Toggle Cinematic FOV", | ||
|
||
"gui.lukesAdditions.toggleBot": "§bToggled §1%s§b bot.", | ||
"gui.lukesAdditions.useBotName": "Use", | ||
"gui.lukesAdditions.attackBotName": "Attack", | ||
"gui.lukesAdditions.toggle": "Toggled %s %s.", | ||
"gui.lukesAdditions.toggleable.on": "§aON", | ||
"gui.lukesAdditions.toggleable.off": "§cOFF", | ||
|
||
"gui.lukesAdditions.toggleFreeCam": "§bToggled §1Freecam§r" | ||
"gui.lukesAdditions.useBotName": "§9Use Timer Bot", | ||
"gui.lukesAdditions.attackBotName": "§9Attack Timer Bot", | ||
"gui.lukesAdditions.freeCamName": "§9FreeCam", | ||
"gui.lukesAdditions.cinematicName": "§9Cinematic" | ||
} |