... | @@ -2,7 +2,7 @@ |
... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
```java
|
|
```java
|
|
Dummy<?> dummy = new Dummy<>();
|
|
Dummy<?> dummy = new Dummy<>();
|
|
// The dummy will no longer spawn and despawn automatically
|
|
// The dummy will no longer spawn and despawn for players automatically
|
|
dummy.setDetectingPlayers(false);
|
|
dummy.setDetectingPlayers(false);
|
|
ModeledEntity modeledEntity = ModelEngineAPI.createModeledEntity(dummy);
|
|
ModeledEntity modeledEntity = ModelEngineAPI.createModeledEntity(dummy);
|
|
ActiveModel activeModel = ModelEngineAPI.createActiveModel("test_model");
|
|
ActiveModel activeModel = ModelEngineAPI.createActiveModel("test_model");
|
... | | ... | |