Class GameTestEntityBuilder<E extends Entity>
java.lang.Object
net.minecraft.gametest.framework.GameTestEntityBuilder<E>
- Direct Known Subclasses:
GameTestMobBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntityType<E> private final Vec3private booleanprivate @Nullable EntitySpawnReasonprotected final GameTestHelper -
Constructor Summary
ConstructorsConstructorDescriptionGameTestEntityBuilder(GameTestHelper testHelper, EntityType<E> entityType, Vec3 position) -
Method Summary
Modifier and TypeMethodDescriptionrequirePersistence(boolean requirePersistence) spawn()spawn(int amount) spawnReason(@Nullable EntitySpawnReason spawnReason)
-
Field Details
-
testHelper
-
entityType
-
position
-
spawnReason
-
rotation
-
requirePersistence
private boolean requirePersistence
-
-
Constructor Details
-
GameTestEntityBuilder
-
-
Method Details
-
spawnReason
-
rotation
-
requirePersistence
-
spawn
-
spawn
-