Class EnderChestMock

All Implemented Interfaces:
PersistentDataViewHolder, BlockState, EnderChest, Lidded, TileState, Metadatable, PersistentDataHolder

public class EnderChestMock extends TileStateMock implements EnderChest
Mock implementation of an EnderChest.
See Also:
  • Constructor Details

    • EnderChestMock

      public EnderChestMock(@NotNull @NotNull Material material)
      Constructs a new EnderChestMock for the provided Material. Only supports Material.ENDER_CHEST
      Parameters:
      material - The material this state is for.
    • EnderChestMock

      protected EnderChestMock(@NotNull @NotNull Block block)
      Constructs a new EnderChestMock for the provided Block. Only supports Material.ENDER_CHEST
      Parameters:
      block - The block this state is for.
    • EnderChestMock

      protected EnderChestMock(@NotNull @NotNull EnderChestMock state)
      Constructs a new EnderChestMock by cloning the data from an existing one.
      Parameters:
      state - The state to clone.
  • Method Details