Class VillagerTypeMock

java.lang.Object
be.seeseemelk.mockbukkit.util.OldEnumMock<org.bukkit.entity.Villager.Type>
be.seeseemelk.mockbukkit.util.OldKeyedEnumMock<org.bukkit.entity.Villager.Type>
be.seeseemelk.mockbukkit.entity.variant.VillagerTypeMock
All Implemented Interfaces:
Comparable<org.bukkit.entity.Villager.Type>, net.kyori.adventure.key.Keyed, org.bukkit.entity.Villager.Type, org.bukkit.Keyed, org.bukkit.util.OldEnum<org.bukkit.entity.Villager.Type>

public class VillagerTypeMock extends OldKeyedEnumMock<org.bukkit.entity.Villager.Type> implements org.bukkit.entity.Villager.Type
  • Field Summary

    Fields inherited from interface org.bukkit.entity.Villager.Type

    DESERT, JUNGLE, PLAINS, SAVANNA, SNOW, SWAMP, TAIGA
  • Constructor Summary

    Constructors
    Constructor
    Description
    VillagerTypeMock(String name, int ordinal, org.bukkit.NamespacedKey key)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    from(com.google.gson.JsonObject jsonObject)
     

    Methods inherited from class be.seeseemelk.mockbukkit.util.OldKeyedEnumMock

    getKey

    Methods inherited from class be.seeseemelk.mockbukkit.util.OldEnumMock

    compareTo, name, ordinal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    getKey, key

    Methods inherited from interface org.bukkit.util.OldEnum

    compareTo, name, ordinal
  • Constructor Details

    • VillagerTypeMock

      public VillagerTypeMock(String name, int ordinal, org.bukkit.NamespacedKey key)
  • Method Details

    • from

      public static VillagerTypeMock from(com.google.gson.JsonObject jsonObject)