Package net.minestom.server.registry
Class Registry.EntityEntry
java.lang.Object
net.minestom.server.registry.Registry.EntityEntry
- All Implemented Interfaces:
Registry.Entry
- Enclosing class:
Registry
-
Constructor Summary
ConstructorDescriptionEntityEntry
(String namespace, Registry.Properties main, Registry.Properties custom) -
Method Summary
Modifier and TypeMethodDescriptiondouble
@NotNull BoundingBox
custom()
double
drag()
double
double
height()
int
id()
@NotNull NamespaceID
@NotNull EntitySpawnType
double
width()
-
Constructor Details
-
EntityEntry
-
-
Method Details
-
namespace
-
id
public int id() -
translationKey
-
drag
public double drag() -
acceleration
public double acceleration() -
spawnType
-
width
public double width() -
height
public double height() -
eyeHeight
public double eyeHeight() -
boundingBox
-
custom
- Specified by:
custom
in interfaceRegistry.Entry
-