Commit graph

58 commits

Author SHA1 Message Date
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
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
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
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
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
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
9ccc692d2c Change namespace to com.burnedkirby.* 2019-11-25 15:29:25 +09:00
d2f668187e WIP porting to forge 1.14.4 2019-10-21 16:13:11 +09:00
5a7e893e0e Add note about dependencies to mcmod.info 2018-10-30 15:54:04 +09:00
aa229036ad Version 1.7
Can now add/edit "custom-name" entries to the config via
"/tbm-edit custom". These entries only apply to mobs with a matching
custom name.
2018-10-26 13:36:35 +09:00
05b3dc90b0 Use .toml instead of .xml for config 2018-10-25 14:31:06 +09:00
d67fef2842 Fixes, add maximum-distance to aggro-start-battle
Ugly fix for still not found freeze bug in BattleUpdater.
Added maximum-distance for monsters initiating battle when targeting a
player or entity in battle.
Updated config version to 6.
2018-10-18 16:26:09 +09:00
f55b2e89ab Add battle cooldown
Cooldown (default 5 seconds) prevents an entity that left battle from
attacking or being-attacked for the duration of the cooldown.
2018-10-17 18:28:47 +09:00
115fa02753 Version 1.3, Fixes, improvements
Changed turn-based-battle start behavior to also start when a hostile
mob targets a player or entity in battle.
Added config option to revert to old-style battle starting behavior.
(Since config version updated, older config will be moved and the new
config will take its place.)
Changed mob attack target in Battle to whatever they were targeting (via
a call to "getAttackTarget()").
2018-10-17 17:15:23 +09:00
761ab5a5f0 Add commands/config to disable turnbased on demand 2018-10-16 14:42:24 +09:00
bb8ebf561b Change how silly music is triggered
Can now specify in config what minimum percentage of silly entities
trigger silly music in battle.
2018-09-28 12:02:39 +09:00
c2c19f6af2 Fix passive-type battle music occurrences, fixes 2018-09-27 18:09:40 +09:00
a4c3a28028 Minor fixes/changes
Added option in config to change battle timer time
2018-09-25 14:55:24 +09:00
8c3bdc0ad1 Change TBM_Config.xml format for entities 2018-09-20 15:36:31 +09:00
efa65da721 Fix bow attack, config, add freeze enemies option
Fix bug where bow attack hit announcement was made multiple times.
Fix config format for Entities.
Add feature to freeze combatants when battle starts, option to enable in
config.
2018-09-18 15:56:06 +09:00
b1a3eb9880 Implement battle music
Can play mid and wav files in the generated config directory
2018-09-14 14:14:10 +09:00
5f70253955 Fixes, improvements
BattleGui now displays health of all combatants.
Players can leave battle by entering creative mode (set by server).
Added battle size limit (default 8) can be set in config.
2018-09-14 12:44:45 +09:00
6a97a90d68 Remove "Conflicts", prevent creative mode battles 2018-09-13 15:50:34 +09:00
d70d0c2d38 bug fixes and add MinimumHitPercentage to config 2018-09-13 14:52:48 +09:00
0ea3dfd98a Minor fixes/changes 2018-09-13 14:12:04 +09:00
97cfdaf0f7 WIP backend logic impl, fixes to config gen/parse 2018-09-07 16:41:22 +09:00