Class TropicalFishBucketMetaMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
be.seeseemelk.mockbukkit.inventory.meta.TropicalFishBucketMetaMock
- All Implemented Interfaces:
Cloneable
,ConfigurationSerializable
,Damageable
,ItemMeta
,Repairable
,TropicalFishBucketMeta
,PersistentDataHolder
Mock implementation of an
TropicalFishBucketMeta
.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newTropicalFishBucketMetaMock
.TropicalFishBucketMetaMock
(@NotNull TropicalFishBucketMeta meta) Constructs a newTropicalFishBucketMetaMock
, cloning the data from another. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Defaults any null variables.@NotNull TropicalFishBucketMetaMock
clone()
boolean
@NotNull DyeColor
@NotNull DyeColor
int
hashCode()
boolean
void
setBodyColor
(@NotNull DyeColor color) void
setPattern
(@NotNull TropicalFish.Pattern pattern) void
setPatternColor
(@NotNull DyeColor color) Methods inherited from class be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
addAttributeModifier, addEnchant, addItemFlags, assertComponentLore, assertHasNoLore, assertLore, assertLore, deserialize, displayName, displayName, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDamage, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPersistentDataContainer, getPlaceableKeys, getRepairCost, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDamage, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, hasRepairCost, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeEnchantments, removeItemFlags, serialize, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDamage, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setRepairCost, setUnbreakable, setVersion
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
Methods inherited from interface org.bukkit.inventory.meta.ItemMeta
addAttributeModifier, addEnchant, addItemFlags, displayName, displayName, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeEnchantments, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersion
Methods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer
-
Constructor Details
-
TropicalFishBucketMetaMock
public TropicalFishBucketMetaMock()Constructs a newTropicalFishBucketMetaMock
. -
TropicalFishBucketMetaMock
Constructs a newTropicalFishBucketMetaMock
, cloning the data from another.- Parameters:
meta
- The meta to clone.
-
-
Method Details
-
checkVars
protected void checkVars()Defaults any null variables. -
getPatternColor
- Specified by:
getPatternColor
in interfaceTropicalFishBucketMeta
-
setPatternColor
- Specified by:
setPatternColor
in interfaceTropicalFishBucketMeta
-
getBodyColor
- Specified by:
getBodyColor
in interfaceTropicalFishBucketMeta
-
setBodyColor
- Specified by:
setBodyColor
in interfaceTropicalFishBucketMeta
-
getPattern
- Specified by:
getPattern
in interfaceTropicalFishBucketMeta
-
setPattern
- Specified by:
setPattern
in interfaceTropicalFishBucketMeta
-
hasVariant
public boolean hasVariant()- Specified by:
hasVariant
in interfaceTropicalFishBucketMeta
-
hashCode
public int hashCode()- Overrides:
hashCode
in classItemMetaMock
-
equals
- Overrides:
equals
in classItemMetaMock
-
clone
- Specified by:
clone
in interfaceDamageable
- Specified by:
clone
in interfaceItemMeta
- Specified by:
clone
in interfaceRepairable
- Specified by:
clone
in interfaceTropicalFishBucketMeta
- Overrides:
clone
in classItemMetaMock
-