-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement donkey, mule & llama inventories #871
Conversation
…into chestedHorse
/** | ||
* Creates and sets a new inventory, and copies equipment over from the existing inventory. | ||
*/ | ||
protected abstract void createNewInventory(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should return <InventoryT>
, and the constructor should set the inventory
field to the return value. The method implementations shouldn't have to update the field imo.
import org.bukkit.inventory.ItemStack; | ||
import org.bukkit.inventory.LlamaInventory; | ||
|
||
public class GlowLlamaInventory extends GlowInventory implements LlamaInventory { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs documentation
|
||
public abstract class GlowChestedHorse extends GlowAbstractHorse implements ChestedHorse { | ||
/** | ||
* A quadruped whose inventory may include a chest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quadruped
-> horse
"Quadruped" is too broad
Superseded by #872. |
Continuation from #864