Class Registry.BlockEntry

java.lang.Object
net.minestom.server.registry.Registry.BlockEntry
All Implemented Interfaces:
Registry.Entry
Enclosing class:
Registry

public static final class Registry.BlockEntry extends Object implements Registry.Entry
  • Method Details

    • namespace

      @NotNull public @NotNull NamespaceID namespace()
    • id

      public int id()
    • stateId

      public int stateId()
    • translationKey

      public String translationKey()
    • hardness

      public double hardness()
    • explosionResistance

      public double explosionResistance()
    • friction

      public double friction()
    • speedFactor

      public double speedFactor()
    • jumpFactor

      public double jumpFactor()
    • isAir

      public boolean isAir()
    • isSolid

      public boolean isSolid()
    • isLiquid

      public boolean isLiquid()
    • occludes

      public boolean occludes()
    • requiresTool

      public boolean requiresTool()
    • lightEmission

      public int lightEmission()
    • isReplaceable

      public boolean isReplaceable()
    • isBlockEntity

      public boolean isBlockEntity()
    • blockEntity

      @Nullable public @Nullable String blockEntity()
    • blockEntityId

      public int blockEntityId()
    • material

      @Nullable public @Nullable Material material()
    • isRedstoneConductor

      public boolean isRedstoneConductor()
    • isSignalSource

      public boolean isSignalSource()
    • collisionShape

      public Shape collisionShape()
    • custom

      public Registry.Properties custom()
      Specified by:
      custom in interface Registry.Entry