Class PersistentDataHolderMock

java.lang.Object
be.seeseemelk.mockbukkit.persistence.PersistentDataHolderMock
All Implemented Interfaces:
org.bukkit.persistence.PersistentDataHolder

public class PersistentDataHolderMock extends Object implements org.bukkit.persistence.PersistentDataHolder
This is a mock of a PersistentDataHolder. This implementation uses the PersistentDataContainerMock for its PersistentDataContainer implementation.
  • Constructor Details

    • PersistentDataHolderMock

      public PersistentDataHolderMock()
  • Method Details

    • getPersistentDataContainer

      @NotNull public @NotNull org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
      Specified by:
      getPersistentDataContainer in interface org.bukkit.persistence.PersistentDataHolder