Class PersistentDataAdapterContextMock
java.lang.Object
be.seeseemelk.mockbukkit.persistence.PersistentDataAdapterContextMock
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataAdapterContext
public class PersistentDataAdapterContextMock
extends Object
implements org.bukkit.persistence.PersistentDataAdapterContext
This is about as basic of an implementation for
PersistentDataAdapterContext as you could imagine. But it is
identical with the default CraftBukkit implementation too. So mock successful I would say.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.persistence.PersistentDataContainer
-
Constructor Details
-
PersistentDataAdapterContextMock
public PersistentDataAdapterContextMock()
-
-
Method Details
-
newPersistentDataContainer
@NotNull public @NotNull org.bukkit.persistence.PersistentDataContainer newPersistentDataContainer()- Specified by:
newPersistentDataContainerin interfaceorg.bukkit.persistence.PersistentDataAdapterContext
-