Compare commits
No commits in common. "009822531af91a6cd900b8d97aefce40b6a39393" and "6af44e07caf2bc09491b17042c1c77628f01821c" have entirely different histories.
009822531a
...
6af44e07ca
6 changed files with 145 additions and 590 deletions
36
Changelog.md
36
Changelog.md
|
@ -1,41 +1,5 @@
|
||||||
# Upcoming changes
|
# Upcoming changes
|
||||||
|
|
||||||
# Version Forge-1.26.5
|
|
||||||
|
|
||||||
Update TBM\_Config.toml to have haste\_speed and slow\_speed for all mob
|
|
||||||
entries.
|
|
||||||
|
|
||||||
Update Config to merge in new changes. This means that the existing config will
|
|
||||||
be overwritten much less frequently (if ever).
|
|
||||||
|
|
||||||
Update to Forge 52.0.26 (MC 1.21.1).
|
|
||||||
|
|
||||||
# Version NeoForge-1.26.5-MC-1.21.1
|
|
||||||
|
|
||||||
Update TBM\_Config.toml to have haste\_speed and slow\_speed for all mob
|
|
||||||
entries.
|
|
||||||
|
|
||||||
Update ClientConfigGui to quit to mod-menu screen in NeoForge (before, it quit
|
|
||||||
to the main screen or current game).
|
|
||||||
|
|
||||||
Update Config to merge in new changes. This means that the existing config will
|
|
||||||
be overwritten much less frequently (if ever).
|
|
||||||
|
|
||||||
Update to NeoForge 21.1.74 (MC 1.21.1).
|
|
||||||
|
|
||||||
# Version NeoForge-1.26.5
|
|
||||||
|
|
||||||
Update TBM\_Config.toml to have haste\_speed and slow\_speed for all mob
|
|
||||||
entries.
|
|
||||||
|
|
||||||
Update ClientConfigGui to quit to mod-menu screen in NeoForge (before, it quit
|
|
||||||
to the main screen or current game).
|
|
||||||
|
|
||||||
Update Config to merge in new changes. This means that the existing config will
|
|
||||||
be overwritten much less frequently (if ever).
|
|
||||||
|
|
||||||
Update to NeoForge 21.3.11-beta (MC 1.21.3).
|
|
||||||
|
|
||||||
# Version Forge-1.26.4
|
# Version Forge-1.26.4
|
||||||
|
|
||||||
[Add support for "per-player-stats" in Turn-Based-Battle.](https://stephen-seo.github.io/TurnBasedMinecraftMod/server_config/#per-player-settings)
|
[Add support for "per-player-stats" in Turn-Based-Battle.](https://stephen-seo.github.io/TurnBasedMinecraftMod/server_config/#per-player-settings)
|
||||||
|
|
|
@ -78,7 +78,7 @@ configured for them.)
|
||||||
|
|
||||||
Simply invoke `./gradlew build` in the mod directory and after some time the
|
Simply invoke `./gradlew build` in the mod directory and after some time the
|
||||||
finished jar will be saved at
|
finished jar will be saved at
|
||||||
`build/libs/TurnBasedMinecraft-NeoForge-1.26.5-MC-1.21.1-all.jar`
|
`build/libs/TurnBasedMinecraft-NeoForge-1.26.4-MC-1.21.1-all.jar`
|
||||||
|
|
||||||
# Reproducibility
|
# Reproducibility
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ minecraft_version=1.21.1
|
||||||
minecraft_version_range=[1.21.1, 1.22)
|
minecraft_version_range=[1.21.1, 1.22)
|
||||||
|
|
||||||
# The Neo version must agree with the Minecraft version to get a valid artifact
|
# The Neo version must agree with the Minecraft version to get a valid artifact
|
||||||
neo_version=21.1.74
|
neo_version=21.1.73
|
||||||
# The Neo version range can use any version of Neo as bounds
|
# The Neo version range can use any version of Neo as bounds
|
||||||
neo_version_range=[21.1.0,)
|
neo_version_range=[21.1.0,)
|
||||||
# The loader version range can only use the major version of FML as bounds
|
# The loader version range can only use the major version of FML as bounds
|
||||||
|
@ -37,7 +37,7 @@ mod_name=TurnBasedMinecraftMod
|
||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=MIT
|
mod_license=MIT
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1.26.5-MC-1.21.1
|
mod_version=1.26.4-MC-1.21.1
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|
|
@ -20,7 +20,6 @@ public class ClientConfigGui extends net.minecraft.client.gui.screens.Screen {
|
||||||
private Checkbox affectedByMasterVolCheckbox = null;
|
private Checkbox affectedByMasterVolCheckbox = null;
|
||||||
private Checkbox affectedByMusicVolCheckbox = null;
|
private Checkbox affectedByMusicVolCheckbox = null;
|
||||||
private SliderPercentage volumeSlider = null;
|
private SliderPercentage volumeSlider = null;
|
||||||
private Screen parentScreen = null;
|
|
||||||
|
|
||||||
public ClientConfigGui(ModContainer container, Screen parent) {
|
public ClientConfigGui(ModContainer container, Screen parent) {
|
||||||
super(Component.literal("TurnBasedMC Client Config"));
|
super(Component.literal("TurnBasedMC Client Config"));
|
||||||
|
@ -28,8 +27,6 @@ public class ClientConfigGui extends net.minecraft.client.gui.screens.Screen {
|
||||||
dirtyFlag = true;
|
dirtyFlag = true;
|
||||||
|
|
||||||
accepted = false;
|
accepted = false;
|
||||||
|
|
||||||
this.parentScreen = parent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onDirty() {
|
public void onDirty() {
|
||||||
|
@ -178,7 +175,7 @@ public class ClientConfigGui extends net.minecraft.client.gui.screens.Screen {
|
||||||
addRenderableWidget(volumeSlider);
|
addRenderableWidget(volumeSlider);
|
||||||
|
|
||||||
addRenderableWidget(Button.builder(Component.literal("Cancel"),
|
addRenderableWidget(Button.builder(Component.literal("Cancel"),
|
||||||
(b) -> Minecraft.getInstance().setScreen(this.parentScreen))
|
(b) -> Minecraft.getInstance().setScreen(null))
|
||||||
.bounds(this.width / 2 - widget_width + widget_x_offset,
|
.bounds(this.width / 2 - widget_width + widget_x_offset,
|
||||||
this.height - widget_height, widget_width, widget_height).build());
|
this.height - widget_height, widget_width, widget_height).build());
|
||||||
addRenderableWidget(Button.builder(Component.literal("Accept"), (b) -> {
|
addRenderableWidget(Button.builder(Component.literal("Accept"), (b) -> {
|
||||||
|
@ -228,7 +225,7 @@ public class ClientConfigGui extends net.minecraft.client.gui.screens.Screen {
|
||||||
public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
|
public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
|
||||||
if (accepted) {
|
if (accepted) {
|
||||||
doAccepted();
|
doAccepted();
|
||||||
Minecraft.getInstance().setScreen(this.parentScreen);
|
Minecraft.getInstance().setScreen(null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dirtyFlag) {
|
if (dirtyFlag) {
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -41,7 +41,7 @@ import org.apache.logging.log4j.Logger;
|
||||||
public class TurnBasedMinecraftMod {
|
public class TurnBasedMinecraftMod {
|
||||||
public static final String MODID = "com_burnedkirby_turnbasedminecraft";
|
public static final String MODID = "com_burnedkirby_turnbasedminecraft";
|
||||||
public static final String NAME = "Turn Based Minecraft Mod";
|
public static final String NAME = "Turn Based Minecraft Mod";
|
||||||
public static final String VERSION = "1.26.5-MC-1.21.1";
|
public static final String VERSION = "1.26.4-MC-1.21.1";
|
||||||
public static final String CONFIG_FILENAME = "TBM_Config.toml";
|
public static final String CONFIG_FILENAME = "TBM_Config.toml";
|
||||||
public static final String DEFAULT_CONFIG_FILENAME = "TBM_Config_DEFAULT.toml";
|
public static final String DEFAULT_CONFIG_FILENAME = "TBM_Config_DEFAULT.toml";
|
||||||
public static final String CONFIG_DIRECTORY = "config/TurnBasedMinecraft/";
|
public static final String CONFIG_DIRECTORY = "config/TurnBasedMinecraft/";
|
||||||
|
|
Loading…
Reference in a new issue