Class EntitySpawnImpl

java.lang.Object
io.github.vampirestudios.vampirelib.utils.EntitySpawnImpl

public final class EntitySpawnImpl extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    static void
    spawnEntityV(net.minecraft.world.level.ServerLevelAccessor self, net.minecraft.world.entity.Entity entity)
     
    static boolean
    spawnEntityZ(net.minecraft.server.level.ServerLevel self, net.minecraft.world.entity.Entity entity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)