Package net.minestom.server.registry
Class Registry.BlockEntry
java.lang.Object
net.minestom.server.registry.Registry.BlockEntry
- All Implemented Interfaces:
Registry.Entry
- Enclosing class:
Registry
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
int
custom()
double
double
friction()
double
hardness()
int
id()
boolean
isAir()
boolean
boolean
isLiquid()
boolean
boolean
boolean
boolean
isSolid()
double
int
@Nullable Material
material()
@NotNull NamespaceID
boolean
occludes()
double
int
stateId()
-
Method Details
-
namespace
-
id
public int id() -
stateId
public int stateId() -
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() -
lightEmission
public int lightEmission() -
isReplaceable
public boolean isReplaceable() -
isBlockEntity
public boolean isBlockEntity() -
blockEntity
-
blockEntityId
public int blockEntityId() -
material
-
isRedstoneConductor
public boolean isRedstoneConductor() -
isSignalSource
public boolean isSignalSource() -
collisionShape
-
custom
- Specified by:
custom
in interfaceRegistry.Entry
-