TurnBasedMinecraftMod/Changelog.md
Stephen Seo 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

3.2 KiB

Version 1.5

Fix proper consumption of food/potion items in battle.

Added some debug output on internal freeze occurrence (investigation of the freeze bug is still ongoing).

Version 1.4

Fix duplicate "... entered battle" messages.

Added max-distance config option for how close a monster must be to initiate battle (when triggered by a monster targeting a player or entity in battle).

Some internal fixes and refactorings.

Version 1.3

Added a battle-cooldown and related config option. Now, when leaving battle, a cooldown timer (default 5 seconds) prevents entities from attacking/being-attacked for the duration of the cooldown. Can be set to a minimum of 1 second and maximum of 10 seconds.

"/tbm-enable-all" and "/tbm-disable-all" now notifies all players when they are invoked by an OP.

Battles can now be started/joined by hostile mobs when they target a player or other entity in battle, instead of just entering on attack. Old battle-starting-behavior can be used by setting the related config option.
(This change was made to keep zombies from gathering around the player when the config option for freezing entities in battle is enabled.)

Non-player entities in battle now primarily attack entities they are already targeting (via a call to EntityLiving's "getAttackTarget()").

Note since config version is now 5, older config will be renamed and the new config will take its place.

Version 1.2

Fixed "/tbm-enable" and "/tbm-disable" not working in singleplayer.

Added commands:

  • "/tbm-enable-all"
  • "/tbm-disable-all"

Only OPs can use these new commands to enable or disable turn-based-battle for everyone.
Note that if "/tbm-disable-all" is invoked, joining players will also have turn-based-battle disabled for them. Invoking "/tbm-enable-all" will change this back to the default, where turn-based-battle is enabled for joining players.

Version 1.1

Added commands to enable/disable turn-based-battle on-demand.

Commands are:

  • "/tbm-enable"
  • "/tbm-disable"
  • "/tbm-set <player> <true/false>"

There is a config option to allow anyone to use "/tbm-enable" and "/tbm-disable".
Only OPs can use "/tbm-set" (permission level 2).

Note that since config version has been updated, pre-existing config will be renamed and the newer config will take its place.

Version 1.0

Features:

  • Turn based combat with hostile mobs (excluding passive and bosses) by default
  • Config generated at ".minecraft/config/TurnBasedMinecraft/TBM_Config.xml
    • Old config is renamed if new config exists with newer mod version
  • Battle is very configurable per mob and also for all players in config
  • Can add mobs unique to other mods in config (using full Java Class name of mob)
  • Can set config on server/singleplayer to freeze mobs in combat
  • Can add battle/silly music in ".minecraft/config/TurnBasedMinecraft/Music" that activates depending on mob types in battle
    • What determines battle or silly can be set client-side in config
      • Unknown types defaults to battle music instead of silly music
  • Can set max battle combatants in config
  • Can use bow/arrows in battle (currently different projectile weapons provided by different mods are not supported)
  • Players in creative-mode will not enter turn-based battle