Expansion for MCEntityType
Additional methods for easier modification of entity-related loot tables.
Methods
Adds an IItemStack to the drops of this entity, but only if the entity was killed by a player.
Return Type: void
Adds a list of IItemStacks to the drops of this entity, but only if the entity was killed by a player.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed by a player.
Return Type: void
Adds an IItemStack to the drops of this entity, but only if the entity was killed by a player with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds a list of IItemStacks to the drops of this entity, but only if the entity was killed by a player with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed by a player with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed by a player with the given weapon, optionally considering its damage.
Additional parameters that further specify the weapon, such as NBT, or count, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed by a player with the given weapon, optionally considering its damage and NBT data.
Additional parameters that further specify the weapon, such as count, are ignored.
Return Type: void
Adds an IItemStack to the drops of this entity, but only if the entity was killed with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds a list of IItemStacks to the drops of this entity, but only if the entity was killed with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed with the given weapon.
Additional parameters that further specify the weapon, such as NBT, count, or damage, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed with the given weapon, optionally considering its damage.
Additional parameters that further specify the weapon, such as NBT, or count, are ignored.
Return Type: void
Adds an ILootModifier to the current entity that fires only if the entity was killed with the given weapon, optionally considering its damage and NBT data.
Additional parameters that further specify the weapon, such as count, are ignored.
Return Type: void