net.minecraft.test

public class TestSpawner<E extends Entity>

net.minecraft.gametest.framework.GameTestEntityBuilder
net.minecraft.class_1_777
net.minecraft.test.TestSpawner

Field summary

Modifier and TypeField
protected final TestContext
testHelper
field_1_3862
testContext
private final EntityType<E>
entityType
field_1_3857
type
private final Vec3d
position
field_1_3858
pos
private SpawnReason
spawnReason
field_1_3861
spawnReason
private BlockRotation
rotation
field_1_3860
rotation
private boolean
requirePersistence
field_1_3859
persistent

Constructor summary

ModifierConstructor
public (TestContext testContext, EntityType<E> type, Vec3d pos)

Method summary

Modifier and TypeMethod
public TestSpawner<E>
spawnReason(EntitySpawnReason spawnReason)
method_1_4701(class_3730 arg0)
setSpawnReason(SpawnReason spawnReason)
public TestSpawner<E>
rotation(Rotation rotation)
method_1_4698(class_2470 arg0)
setRotation(BlockRotation rotation)
public TestSpawner<E>
requirePersistence(boolean requirePersistence)
method_1_4697(boolean arg0)
setPersistent(boolean persistent)
public E
spawn()
method_1_4699()
spawn()
public List<E>
spawn(int amount)
method_1_4700(int arg0)
spawn(int count)