diff options
author | eueln <euelnd@gmail.com> | 2013-04-11 14:20:41 -0500 |
---|---|---|
committer | turt2live <travpc@gmail.com> | 2014-04-30 22:50:58 -0600 |
commit | 2bf22a9c497f1a3dd8b52735128291338d145dc2 (patch) | |
tree | 2aa338deb40da144d41beb7212a61a7883995b1f /src/main/java/net/minecraft/server/EntityEnderCrystal.java | |
parent | c3e4767a793f2a77ddba1aabf15dbaa38798e9a2 (diff) | |
download | craftbukkit-2bf22a9c497f1a3dd8b52735128291338d145dc2.tar craftbukkit-2bf22a9c497f1a3dd8b52735128291338d145dc2.tar.gz craftbukkit-2bf22a9c497f1a3dd8b52735128291338d145dc2.tar.lz craftbukkit-2bf22a9c497f1a3dd8b52735128291338d145dc2.tar.xz craftbukkit-2bf22a9c497f1a3dd8b52735128291338d145dc2.zip |
Implement inventory creation by type and title. Fixes BUKKIT-4045
With the current API it is possible to create an inventory with a specific
type, but it is not possible to give such an inventory a title other than
the default.
The commit changes that by adding a method to optionally supply the title
for the given inventory type and holder, creating the functionality to
display any supported inventory type with a 32 character length String.
If the inventory title supplied is larger than 32 characters then an
IllegalArgumentException is thrown stating so.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityEnderCrystal.java')
0 files changed, 0 insertions, 0 deletions