Commit graph

116 commits

Author SHA1 Message Date
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
61e0fb02e6 Updated for mcf 1.16.3-34.1.0 2020-11-12 17:10:01 +09:00
cb328f3dbb Many fixes
Switch back to using shadowjar for dependencies.
Fix saving new entity entries in config.
Fix possible BattleMusic failures.
Fix getEntity method not being side-aware.
2019-11-29 18:52:28 +09:00
202f918f79 Remove use of synchronized since not using threads 2019-11-29 13:59:41 +09:00
532cb21731 Add support for battles in different dimensions 2019-11-29 13:47:39 +09:00
ac2a012bd3 Fixes, mod now works (still WIP)
TODO: Battles currently don't work in dimensions other than the
overworld.
2019-11-28 16:32:34 +09:00
4ddd0312e4 Impl /tbm-edit , some fixes 2019-11-27 16:55:48 +09:00
9ccc692d2c Change namespace to com.burnedkirby.* 2019-11-25 15:29:25 +09:00
62df136fae Impl all commands but TBMEdit for 1.14 2019-11-25 15:15:17 +09:00
6c49470509 Fix TurnBasedMinecraft/common/Battle.java 2019-10-28 11:49:28 +09:00
f4b1bc9487 Some work on BattleManager and BattleUpdater 2019-10-25 16:42:54 +09:00
b48406299a Fix add/edit entity in config 2019-10-21 21:06:32 +09:00
d2f668187e WIP porting to forge 1.14.4 2019-10-21 16:13:11 +09:00
55217d0924 Version 1.8
Updated Changelog.md, README.md, and versions.
2018-10-30 14:15:37 +09:00
f32d872bbf Add mp3 support 2018-10-30 14:11:48 +09:00
3c6c22432e Minor improvements 2018-10-29 14:46:45 +09:00
5dd62cc2bf Use Random instead of math.random()
Also moved rest of probability logic out of addScheduledTask().
2018-10-27 17:34:02 +09:00
83711ed7e3 Move probability logic to BattleUpdate thread 2018-10-27 16:53:04 +09:00
044ee7d860 Minor change to debug log notes 2018-10-27 16:35:29 +09:00
1f4d107870 Minor improvements/fixes 2018-10-27 16:26:39 +09:00
fc9eaa0779 Minor fixes, improvements 2018-10-26 18:10:09 +09:00
39257cee55 Minor fixes 2018-10-26 14:18:48 +09:00