Commit graph

155 commits

Author SHA1 Message Date
c40c7ab570 Bump version to 1.26.2 2024-10-24 20:20:44 +09:00
16346da98c Show entities next to attack buttons in BattleGUI 2024-10-24 20:15:30 +09:00
7c321a7827 Add updateJSONURL to mods.toml file 2024-10-23 16:26:15 +09:00
7a5c9506c9 Pause MCMusic when "Ping" packet is received
This prevents Minecraft's music from playing at the same time as
user-provided battle/silly music.
2024-10-23 16:23:10 +09:00
aac81f20bc Minor refactoring/fix 2024-10-23 16:23:10 +09:00
4e38f4a89a Store remaining turn seconds in PacketBattlePing 2024-10-23 16:23:10 +09:00
cd6106a19c Use "PacketBattlePing" for "pings"
More efficient than using "PacketBattleInfo" every 4 seconds which is
heftier than a single battleID.

Currently "PacketBattlePing" is used to cause the client to show the
BattleGUI if it is not open.
2024-10-23 16:23:10 +09:00
c5006f4c38 Allow leaving battle gui temporarily, refactorings 2024-10-23 16:23:10 +09:00
52458bbfc5 Version bump, 1.26.1 of mod, 21.1.72 neoforge 2024-10-23 16:23:10 +09:00
934fc3842b Minor refactoring/fixes 2024-10-23 16:23:10 +09:00
3f36931e0e Add new mobs to config list, bump config version 2024-10-15 10:52:22 +09:00
e2f474564d Fix accidental version 1.27, fix client-config 2024-10-14 21:34:47 +09:00
ddcfa9190f Neoforge 21.1.69
TODO:
    Fix client-config not persisting/saving.
    Add new mobs to the list in the server-side config.
2024-10-14 19:27:38 +09:00
c0e70007f7 Fix "hover text" info for options in cli conf gui 2024-02-02 13:43:48 +09:00
3f7c922c5d Add cli opt for music vol affected by master vol 2024-02-01 16:54:34 +09:00
6b21afdce9 Refactor ClientConfig GUI, reformat file
Also refactor how "minimum silly percentage" is handled (the minimum
percentage of "silly mobs" to play silly music in battle for).
2024-02-01 15:55:58 +09:00
c8066e2550 Fix value formatting for sliders in client config 2024-02-01 14:19:27 +09:00
caa90f7fa6 Bump version to 1.26.0 2024-01-31 18:23:26 +09:00
83b7e99cee Impl. GUI to set client config, /tbm-client-edit 2024-01-31 18:18:55 +09:00
c0fddb6955 Allow changing client config in settings
Client config is no longer stored in TBM_Config.toml.
2024-01-31 14:06:23 +09:00
18b4fac876 Version 1.25.3 2024-01-31 11:58:13 +09:00
86cbc5e7ba Fix volume handling of battle/silly music 2024-01-31 11:57:52 +09:00
43bb0c7059 Fix version in main mod class 2024-01-17 14:48:37 +09:00
ae3cbfe4f6 Bump version to 1.25.2, cleanup of gradle stuff 2024-01-17 14:42:55 +09:00
9fab572800 Fix usage of throwable potions in battle
Add (experimental) "right-click" support for items when "Use" is invoked
on an item in battle.
2024-01-17 14:29:19 +09:00
edc3246bd1 Minor fixes to ItemSelectionButton 2024-01-16 17:10:24 +09:00
f635badfe1 Bump version to 1.25.1 2024-01-16 16:58:39 +09:00
fb2c4cd13c Update code for NeoForge 20.4.108-beta 2024-01-16 16:55:13 +09:00
490518a58a Add "icon" for mod 2024-01-16 14:15:13 +09:00
e3ba1abdae Remove unused mcmod.info file 2024-01-16 14:14:45 +09:00
d57f18d6c2 Add support for ogg-vorbis audio files 2024-01-08 15:19:42 +09:00
c0bbf92efc Bump version, add j-ogg-vorbis dependency
Updated README.md, Reproducibility.md, etc.
2024-01-08 15:19:31 +09:00
b00f500e36 Fix version in mcmod.info 2023-12-29 17:28:09 +09:00
c9bf87271d Update to NeoForge 20.2.88 2023-12-29 17:20:14 +09:00
351fb1db55 v1.23.1 More robust possible damage source loading 2023-10-12 17:23:21 +09:00
fab8e2d4a0 v1.23.0, forge 1.20.1-47.1.0 2023-09-19 18:49:49 +09:00
275a613f0f Version 1.22.0: to Forge 1.19.3-44.1.1 2023-03-31 14:22:58 +09:00
c8add16c86 Version 1.21.4, bug fix
Fix bug where client may not be able to attack entities for which an entry did
not exist on the client-side config.
2022-09-02 19:46:26 +09:00
c6b0cd9d26 More refactoring of check-if-in-battle code 2022-09-02 19:41:03 +09:00
e447116e1d Impl. player_only_battles, v1.21.3
A server-side config option was added to enable "player_only_battles" where mobs
cannot enter battle. (I haven't actually tested this fully since I am only 1
person, so there may be bugs.) This can be edited via the config, or via the
`/tbm-server-edit` command.

Version bumped to 1.21.3 .
2022-08-24 12:18:32 +09:00
819aea162a Refactor entity-in-battle checking, v1.21.2 2022-08-23 15:01:14 +09:00
12e6583b1f Refactor entity-in-battle checking code, v1.21.1 2022-08-23 14:36:32 +09:00
972997a49b Updated mod to use forge 1.19.2-43.1.1 2022-08-23 13:55:09 +09:00
a3431b135e Impl ignore specific damage sources in battle
Fixes #1. (Damage is inhibited, but some things like amount of air while
underwater still decreases for the duration of being underwater regardless of
being in battle.)

Server-side config specifies which damage sources are ignored in battle. This
can also be set in-game with `/tbm-server-edit`.

Also updated config for entities which should reduce the amount of stuff printed
into the logs (sorry about that).
2022-08-23 13:30:10 +09:00
74b9681253 Update for forge-1.19-41.1.0, mod ver. 1.19 2022-08-03 14:47:43 +09:00
752d0c881e Bump network protocol version, version to 1.18.7 2022-07-21 14:19:21 +09:00
a9d2b11f65 Fix turn-timer not matching server-side's value 2022-07-21 14:01:34 +09:00
e8f3c0cd52 Impl "disable-turn-timer", mod version 1.18.6 2022-07-21 12:57:10 +09:00
de5e66e98d Mod version 1.18.5 2022-06-14 14:16:51 +09:00
3624b56727 Fix Battle text output when drinking a potion 2022-06-14 14:14:22 +09:00