-
Classes Class Description org.shininet.bukkit.playerheads.events.FakeBlockBreakEvent you should use SimulatedBlockBreakEvent in the Compatibility API instead, this class may be removed in the future
-
Methods Method Description com.github.crashdemons.playerheads.api.PlayerHeads.setApiInstance(PlayerHeadsAPI) This method is intended only for internal PlayerHeads use.com.github.crashdemons.playerheads.api.PlayerHeadsAPI.getCompatibilityProvider() You should use Compatibility.getProvider() from PlayerHeads-compatibility-api. Compatibility packages will be removed from PH-API in the future, but you may still access them if you use PlayerHeads-compatibility-api (or lib) as a dependency.com.github.crashdemons.playerheads.api.PlayerHeadsAPI.getHeadOf(EntityType) this may not do exactly what you want because between MC 1.10-1.13 many entities were separated from variants to their own entity-type. Using this method will introduce version-dependent behavior (For example: this may not be able to tell a stray from a skeleton in certain server versions) and should be avoided by using getHeadFrom(Entity) instead.org.shininet.bukkit.playerheads.events.HeadRollEvent.getChargedCreeperModifier() use getModifier("chargedcreeper") insteadorg.shininet.bukkit.playerheads.events.HeadRollEvent.getLootingModifier() use getModifier("looting") insteadorg.shininet.bukkit.playerheads.events.HeadRollEvent.getSlimeModifier() use getModifier("slime") insteadorg.shininet.bukkit.playerheads.events.HeadRollEvent.setEffectiveDropRate(double) this value is very likely to be overwritten by other plugins (or applyModifiers/recalculateSuccess) - use setCustomModifier instead.org.shininet.bukkit.playerheads.events.HeadRollEvent.setModifier(String, DropRateModifier) using this method to modify existing modifiers should be avoided - use setCustomModifier to note new ones.org.shininet.bukkit.playerheads.events.HeadRollEvent.setModifiers(Map<String, DropRateModifier>) using this method to modify existing modifiers should be avoided - use setCustomModifier to note new ones.
-
Constructors Constructor Description org.shininet.bukkit.playerheads.events.HeadRollEvent(Entity, Entity, boolean, double, double, double, double, double, double, double, boolean)