Class CampfireMock

All Implemented Interfaces:
BlockState, Campfire, TileState, Metadatable, PersistentDataHolder

public class CampfireMock extends TileStateMock implements Campfire
Mock implementation of a Campfire.
See Also:
  • Constructor Details

    • CampfireMock

      public CampfireMock(@NotNull @NotNull Material material)
      Constructs a new CampfireMock for the provided Material. Only supports materials in Tag.CAMPFIRES
      Parameters:
      material - The material this state is for.
    • CampfireMock

      protected CampfireMock(@NotNull @NotNull Block block)
      Constructs a new CampfireMock for the provided Block. Only supports materials in Tag.CAMPFIRES
      Parameters:
      block - The block this state is for.
    • CampfireMock

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