Skip to content

Releases: totemo/Doppelganger

v1.1.2

24 Feb 11:12
Compare
Choose a tag to compare

Add fix_drop_chance_bug configuration option.

This setting (default false) enables special handling of mob drops with near-unity (> 0.999) drop chance; on mob death, they are taken from the mob inventory and added to the drops collection, bypassing vanilla/Spigot/PaperSpigot drop code which has been buggy in the past. See: https://hub.spigotmc.org/jira/browse/SPIGOT-5298.

Unfortunately, in fixing a bug in skull comparison (https://hub.spigotmc.org/jira/browse/SPIGOT-5403:
ItemStack.isSimilar() returned true for different skulls), Spigot managed to introduce the opposite bug: isSimilar() returning false for identical skulls. That breaks this drop chance bug fix. That new Spigot bug persisted for a few days after Dec 6, 2019, before it was fixed by the Spigot project. During that small window, the PaperSpigot project pulled the buggy Spigot code and consequently ItemStack.isSimilar() is wrong for skulls in PaperSpigot builds 234 through 243. PaperSpigot has ceased development of 1.14.4 builds, meaning that the last ten PaperSpigot builds for 1.14.4 are not useable with this option enabled.

v1.1.1

28 Aug 11:41
Compare
Choose a tag to compare

Count CAVE_AIR (Minecraft 1.13) as equivalent to AIR for the purposes of checking the border around a block shape.

v1.1.0

08 Jul 12:05
Compare
Choose a tag to compare

Updated for 1.14.

1.0.0

21 Jan 06:22
Compare
Choose a tag to compare
  • Updated for Spigot 1.11.2.
  • Dropped the WitherSkeleton predefined type. Use the corresponding
    EntityType constant, WITHER_SKELETON (case-insensitive), in configs
    instead. NOTE: CONFIGURATIONS MUST BE UPDATED.

0.11.0

28 Dec 21:53
Compare
Choose a tag to compare
  • Ensure case-incorrect player names resolve to mandated creature types.
  • In that situation, canonicalise the custom name to the correct case specified in the config.
  • Fix help resource loading for the most common case where Bukkit /reload is not used.

0.10.0 - Compatibility with Minecraft 1.9.

11 Mar 05:08
Compare
Choose a tag to compare
  • Deprecated integer overloads of entity health APIs no longer exist in Spigot 1.9, so use the double overloads instead.
  • Numerous other deprecation warnings have been fixed.
  • Support for setting the item in the off hand has been added, denoted as the section named "shield" in the configuration.
  • The configuration example now illustrates setting the shield item and adjusts sounds to their new names in the 1.9 API.
  • Add predefined creature types for all professions of villagers and zombies including baby variants of each.

0.9.2

29 Oct 14:07
Compare
Choose a tag to compare

Exploit fix: 03fddf

Prevent Doppelgangers from picking up items so that they don't drop their heads unless killed.

Bug fix for item duplication issue.

28 May 14:42
Compare
Choose a tag to compare

This release fixes an item duplication bug in Doppelganger's handling of dropped items. The bug is in Doppelganger code that attempts to work-around a flaw in vanilla Minecraft code - that items are not always dropped even though the drop chance is 100%.

A change in the behaviour of the EntityDeathEvent Bukkit API in Bukkit/CraftBukkit@d611cff invalidated an assumption in the Doppelganger code (that the drops list does not include the mob equipment), leading to the equipment being dropped twice.

The issue and fix are described in more detail in 2f358f2.

Because Doppelganger now collapses duplicate drops to a single item, it is advisable not to spawn a Doppelganger with both an empty hand and a non-wearable item in one of its armour slots. If a second, identically configured Doppelganger was killed nearby, the Doppelganger could pick up the item, while also having an identical item in, say its boots slot, and then only one of the items would drop, even if they both had a drop chance of 100%.