Class EntitySpawnImpl
java.lang.Object
io.github.vampirestudios.vampirelib.utils.EntitySpawnImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.InteractionResulteventPre(net.minecraft.world.entity.Entity original, AtomicReference<net.minecraft.world.entity.Entity> entity, net.minecraft.world.level.ServerLevelAccessor world, net.minecraft.world.entity.MobSpawnType reason, EntitySpawnCallback.Pre[] listeners) static net.minecraft.world.entity.EntityspawnEntityE(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel serverWorld, net.minecraft.world.entity.MobSpawnType spawnReason) static voidspawnEntityV(net.minecraft.world.level.ServerLevelAccessor self, net.minecraft.world.entity.Entity entity) static booleanspawnEntityZ(net.minecraft.server.level.ServerLevel self, net.minecraft.world.entity.Entity entity)
-
Method Details
-
spawnEntityZ
public static boolean spawnEntityZ(net.minecraft.server.level.ServerLevel self, net.minecraft.world.entity.Entity entity) -
spawnEntityV
public static void spawnEntityV(net.minecraft.world.level.ServerLevelAccessor self, net.minecraft.world.entity.Entity entity) -
spawnEntityE
public static net.minecraft.world.entity.Entity spawnEntityE(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel serverWorld, net.minecraft.world.entity.MobSpawnType spawnReason) -
eventPre
public static net.minecraft.world.InteractionResult eventPre(net.minecraft.world.entity.Entity original, AtomicReference<net.minecraft.world.entity.Entity> entity, net.minecraft.world.level.ServerLevelAccessor world, net.minecraft.world.entity.MobSpawnType reason, EntitySpawnCallback.Pre[] listeners)
-