Skip to content

Commit

Permalink
update to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Boxadactle committed Dec 21, 2024
1 parent a609507 commit 263e7d3
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 36 deletions.
16 changes: 2 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
## Changes
- Support for 1.21.3
- Checks chunkDebugKeys (whatever those are) when checking debug keys

## New Features
- Added profiler chart toggle key
- Added FPS charts toggle key
- Added network charts toggle key
- Added chunk section path key
- added fog toggle key
- added smart culling toggle key
- added frustum octree toggle key
- added frustum capture key
- added section visibility toggle key
- added wireframe toggle key
- Support for 1.21.4
- Added kill text to frustum keybind on keybind screen
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class DebugKeybindMain {

public static final String MOD_ID = "debugkeybind";

public static final String VERSION = "12.0.0";
public static final String VERSION = "14.0.0";

public static final String VERSION_STRING = MOD_NAME + " v" + VERSION;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected int getRowWidth() {
}

@Override
protected int getScrollbarPosition() {
protected int getScrollbarX() {
return width - 15;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"key.debug_actions.toggle_fog": "Toggle Fog",
"key.debug_actions.toggle_smart_cull": "Toggle Smart Cull",
"key.debug_actions.toggle_frustum_octree": "Toggle Frustum Octree",
"key.debug_actions.capture_frustum": "Capture Frustum",
"key.debug_actions.capture_frustum": "Capture Frustum (Shift to kill)",
"key.debug_actions.toggle_section_visibility": "Toggle Section Visibility",
"key.debug_actions.toggle_wireframe": "Toggle Wireframe",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"key.debug_actions.toggle_fog": "Alternar Niebla",
"key.debug_actions.toggle_smart_cull": "Alternar Culling Inteligente",
"key.debug_actions.toggle_frustum_octree": "Alternar Octree de Frustum",
"key.debug_actions.capture_frustum": "Capturar Frustum",
"key.debug_actions.capture_frustum": "Capturar Frustum (pulse la tecla shift para matar)",
"key.debug_actions.toggle_section_visibility": "Alternar Visibilidad de Sección",
"key.debug_actions.toggle_wireframe": "Alternar Malla",

Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"depends": {
"fabricloader": "*",
"minecraft": "1.21.*",
"boxlib": "15.*"
"boxlib": "16.*"
},
"recommends": {
"modmenu": "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import dev.boxadactle.debugkeybind.DebugKeybindMain;
import dev.boxadactle.debugkeybind.gui.DebugKeybindsScreen;
import net.minecraftforge.client.ConfigScreenHandler;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.fml.common.Mod;

@Mod(DebugKeybindMain.MOD_ID)
Expand All @@ -12,9 +12,9 @@ public class DebugKeybindForge {
public DebugKeybindForge() {
DebugKeybindMain.init();

ModLoadingContext.get().registerExtensionPoint(ConfigScreenHandler.ConfigScreenFactory.class, () ->
new ConfigScreenHandler.ConfigScreenFactory((minecraft, screen) -> new DebugKeybindsScreen(screen))
);
ModList.get().getModContainerById(DebugKeybindMain.MOD_ID).ifPresent(modContainer -> modContainer.registerExtensionPoint(ConfigScreenHandler.ConfigScreenFactory.class, () ->
new ConfigScreenHandler.ConfigScreenFactory(((minecraft, screen) -> new DebugKeybindsScreen(screen)))
));
}

}
4 changes: 2 additions & 2 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ side="BOTH"
[[dependencies.debugkeybind]]
modId="minecraft"
mandatory=true
versionRange="[1.21.2,)"
versionRange="[1.21.4,1.22)"
ordering="NONE"
side="BOTH"

[[dependencies.debugkeybind]]
modId="boxlib"
mandatory=true
versionRange="[15.0.0,16.0.0)"
versionRange="[16.0.0,17.0.0)"
ordering="NONE"
side="CLIENT"
18 changes: 9 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true

# Mod properties
mod_version = 13.0.0
mod_version = 14.0.0
maven_group = dev.boxadactle
archives_name = DebugKeybind
enabled_platforms = fabric,forge,neoforge

# Minecraft properties
minecraft_version = 1.21.3
minecraft_version = 1.21.4

# Dependencies
fabric_loader_version = 0.16.7
fabric_api_version = 0.107.0+1.21.3
neoforge_version = 21.3.3-beta
forge_version = 53.0.4
fabric_loader_version = 0.16.9
fabric_api_version = 0.112.2+1.21.4
neoforge_version = 21.4.33-beta
forge_version = 54.0.7

modmenu_version = 12.0.0-beta.1
boxlib_version = 15.0.0
modmenu_version=13.0.0-beta.1
boxlib_version = 16.0.1

#publishing
game_versions = 1.21.2,1.21.3
game_versions = 1.21.4
project_id_curseforge = 901782
project_id_modrinth = DX9ioka8
release_type = release
Expand Down
4 changes: 2 additions & 2 deletions neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ A basic mod that adds keybinds for the F3 menu
[[dependencies.debugkeybind]]
modId="minecraft"
mandatory=true
versionRange="[1.21.2,)"
versionRange="[1.21.4,1.22)"
ordering="NONE"
side="BOTH"

[[dependencies.debugkeybind]]
modId = "boxlib"
type = "required"
versionRange = "[15.0.0, 16.0.0)"
versionRange = "[16.0.0, 17.0.0)"
ordering = "NONE"
side = "BOTH"

Expand Down

0 comments on commit 263e7d3

Please sign in to comment.