Commit graph

138 commits

Author SHA1 Message Date
06ff3fb5ae Show entities next to attack buttons in BattleGUI 2024-10-24 20:18:53 +09:00
cf8df83b49 Add updateJSONURL to mods.toml file 2024-10-23 16:27:31 +09:00
b676a00c1c 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:05 +09:00
252b3a5272 Store remaining turn seconds in PacketBattlePing 2024-10-23 16:23:05 +09:00
8e469f1a8a 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:05 +09:00
504329fa88 Allow leaving battle gui temporarily, refactorings 2024-10-23 16:23:05 +09:00
e6501e4fe3 Minor refactoring/fixes 2024-10-23 16:23:05 +09:00
d006474932 Version Forge-1.26.0 2024-10-15 14:46:19 +09:00
1d12e8c3a7 Forge 52.0.21 (Minecraft 1.21.1)
Features should be almost the same as the NeoForge branch.
2024-10-15 14:41:07 +09:00
d57a75d3b2 Bump version to 1.25.2 2024-01-17 14:17:03 +09:00
fb7d4e39de 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:11:11 +09:00
e1e462cb6d Bump version to 1.25.1, update to forge 49.0.19
MC Version 1.20.4
2024-01-16 22:17:06 +09:00
8476b9b19c Remove unused mcmod.info file 2024-01-14 20:28:35 +09:00
530fdadc07 Add "icon" for mod 2024-01-14 20:20:10 +09:00
0d0c0ca08c Add support for ogg-vorbis audio files 2024-01-08 12:29:09 +09:00
74291dde8f Bump version, use jarJar instead of shadow jar
Also add "j-ogg-vorbis" dependency.
2024-01-08 12:18:32 +09:00
62576a06c6 Update mod for 1.20.2 Forge
Also add support for Crossbows in battle.
2023-12-29 11:59:23 +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
cb4fda06e3 1.18.4 Fix battle hits, non-instant hits
Fix hits in battles not hitting due to invulnerability frames.

Changed hits to be spaced appart by approx. 15ms.
2022-06-10 16:57:48 +09:00
c094f9b690 Impl in-game server config editing 2022-06-10 12:05:19 +09:00
bfd584ad69 WIP 1.18.3: Impl in-game server config editing 2022-06-09 16:42:21 +09:00
28291e5134 WIP 1.18.3: Impl editing of server config in-game
Fixed Battle not checking Player haste/speed status for using
"player_haste_speed" and "player_slow_speed".
2022-06-08 19:22:45 +09:00
bc598c41b7 WIP 1.18.3: Allow editing of server config in-game 2022-06-08 15:24:29 +09:00
d9dbe39156 TBM 1.18.2: show team color in attack menu button
If a Player is in a team that has a specific team color, that Player's name will
be displayed with that color in the list of targets when selecting a target to
attack in the Battle GUI.
2022-06-08 11:59:34 +09:00
c46828c58a Fix battle text output, v1.18.1
Battle text output now respects team colors of players in teams.
2022-06-03 14:51:17 +09:00
bc080b2f6f Update for forge-1.18.2-40.1.0 (mod ver 1.18.0) 2022-05-17 16:10:18 +09:00
89ca942c31 Fix potential client freeze bug 2021-05-23 15:38:04 +09:00
ee633284df Add experimental support for Pam's HC foods 2021-05-23 13:22:18 +09:00
7f3dfb42e6 Update mod for Forge 1.16.5-36.1.0 2021-05-21 14:44:31 +09:00
c67deef393 Impl config and settings for creeper behavior 2020-11-18 17:24:18 +09:00
befc7cf611 Add config option for creeper turn explosion 2020-11-18 16:16:18 +09:00
f5f7ce52cc Impl turn-based battle for Creepers 2020-11-18 15:52:54 +09:00
c4811e2271 Disable midi playback
Controlling midi volume with only Java library stuff doesn't appear to
work, so it has been disabled for now.
2020-11-14 15:10:14 +09:00
a14c2c7cc9 Fix potential server crash bug 2020-11-13 11:41:36 +09:00
c7aefaa7c2 Fixes
Fixed text display in BattleGUI not displaying properly.
Updated TBM_Config.toml with new vanilla mobs.
Fixed parsing of version of TBM_Config.toml.
2020-11-13 11:27:57 +09:00