Commit graph

148 commits

Author SHA1 Message Date
861574992d Update version to 1.26.5, Forge 52.0.26 (MC1.21.1) 2024-11-05 17:17:22 +09:00
9eac13c79f Change Config to add new entries in-place
Now, if changes are added to the default Config, they should be appended
to the existing config file instead of replacing it. All missing values
will be populated with defaults as well.
2024-11-05 17:17:22 +09:00
4c3739a111 Add haste_speed and slow_speed to entity config 2024-11-01 15:36:23 +09:00
be78ddc1b6 Version Forge 1.26.4 (MC 1.21.1) 2024-11-01 14:07:07 +09:00
42c69e8983 Allow Players to have "attack effect" 2024-11-01 14:07:07 +09:00
2572190b07 2/2 Player-specific TBMM battle config
Add support for custom stats per-player by player username.
2024-11-01 14:07:07 +09:00
2d52e898f4 1/2 Player-specific TBMM battle config
Add support for custom stats per-player by player username.
2024-11-01 14:07:07 +09:00
f50f412fd4 Bump version to 1.26.3 2024-10-25 15:48:26 +09:00
fde09d116d Change "Ping" packet behavior
Changed "Ping" packet to not create client-local Battle instance when
received, but rather only act if client-local Battle instance exists.

This change was also made on the neoforge branches.
2024-10-25 15:46:56 +09:00
36b6673d69 Bump version to 1.26.2 2024-10-24 20:21:37 +09:00
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