mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA
By: md_5 <git@md-5.net>
This commit is contained in:
parent
acdb83379e
commit
9bf6a88788
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue