Commit graph

109 commits

Author SHA1 Message Date
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
f05e5e6a07 Fix gradle wrapper 2018-11-29 14:03:54 +09:00
d91aee31be
Update README.md 2018-11-08 10:57:18 +09:00
5a7e893e0e Add note about dependencies to mcmod.info 2018-10-30 15:54:04 +09:00
4acca35aa8 Update Changelog.md 2018-10-30 14:29:25 +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
ded3584390 Update to forge version "1.12.2-14.23.5.2768" 2018-10-27 16:10:19 +09:00
10604a3382
Update Changelog.md 2018-10-26 21:11:14 +09:00
6b4d2a8e7a
Update README.md 2018-10-26 20:59:06 +09:00
403f4ce971 Add a fix to the Changelog 2018-10-26 18:11:35 +09:00
fc9eaa0779 Minor fixes, improvements 2018-10-26 18:10:09 +09:00
a0795677c4
Update README.md 2018-10-26 15:05:12 +09:00
39257cee55 Minor fixes 2018-10-26 14:18:48 +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
d17aee5994
Update README.md 2018-10-25 17:53:46 +09:00
96eec6c48d
Update README.md 2018-10-25 16:21:39 +09:00
546cda5e11 Update README.md 2018-10-25 14:56:36 +09:00
9e15f845c5 Add command "/tbm-edit"
Can now add/edit entity entries in config. Now possible to add entries
for unknown mobs in-game.
2018-10-25 14:31:27 +09:00
05b3dc90b0 Use .toml instead of .xml for config 2018-10-25 14:31:06 +09:00
faf7a02619 Fix bug where player can enter battle with self 2018-10-20 20:06:32 +09:00
bd7d7e16f3 Version 1.5, minor fixes
Food and potion consumption in battle is now handled more properly.
2018-10-19 17:18:02 +09:00
54207c6e80 Version 1.4 2018-10-18 16:28:47 +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
00961768b3 Fixes
Acutally fix duplicate ".. entered battle" message bug.
Fix potential crash bug.
2018-10-18 14:47:40 +09:00
967fed3164 Fix duplicate "... entered battle" messages 2018-10-18 13:43:26 +09:00
0a26eee53a Fixes and Refactorings, no major changes 2018-10-18 13:34:57 +09:00
3596bfd2ca Update Changelog.md 2018-10-17 18:30:44 +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
8bcecd21a9 Update Changelog.md 2018-10-17 17:21:22 +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
6e7cd0177a Fix /tbm-disable|enable-all to notify all players 2018-10-17 13:27:55 +09:00
debc4a70ba
Update README.md 2018-10-17 12:53:50 +09:00
8b57023707 Update Changelog.md 2018-10-17 12:36:05 +09:00
cbe2476990 Fixes, added commands, version to 1.2
Fixed /tbm-enable and /tbm-disable not working in singleplayer.
Added /tbm-enable-all and /tbm-disable-all to enable/disable for all
players.
2018-10-17 12:19:16 +09:00