SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA
This commit is contained in:
parent
2a6207fe15
commit
f2182ed473
@ -18,7 +18,7 @@ import org.bukkit.inventory.meta.TropicalFishBucketMeta;
|
|||||||
@DelegateDeserialization(SerializableMeta.class)
|
@DelegateDeserialization(SerializableMeta.class)
|
||||||
class CraftMetaTropicalFishBucket extends CraftMetaItem implements TropicalFishBucketMeta {
|
class CraftMetaTropicalFishBucket extends CraftMetaItem implements TropicalFishBucketMeta {
|
||||||
static final ItemMetaKey VARIANT = new ItemMetaKey("BucketVariantTag", "fish-variant");
|
static final ItemMetaKey VARIANT = new ItemMetaKey("BucketVariantTag", "fish-variant");
|
||||||
static final ItemMetaKeyType<CustomData> ENTITY_TAG = new ItemMetaKeyType<>(DataComponents.ENTITY_DATA, "entity-tag");
|
static final ItemMetaKeyType<CustomData> ENTITY_TAG = new ItemMetaKeyType<>(DataComponents.BUCKET_ENTITY_DATA, "entity-tag");
|
||||||
|
|
||||||
private Integer variant;
|
private Integer variant;
|
||||||
private NBTTagCompound entityTag;
|
private NBTTagCompound entityTag;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user