Class DummyLevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>

java.lang.Object
net.createmod.catnip.utility.levelWrappers.DummyLevelEntityGetter<T>
All Implemented Interfaces:
net.minecraft.world.level.entity.LevelEntityGetter<T>

public class DummyLevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess> extends Object implements net.minecraft.world.level.entity.LevelEntityGetter<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int p_156931_)
     
    get(UUID pUuid)
     
    <U extends T>
    void
    get(net.minecraft.world.level.entity.EntityTypeTest<T,U> p_156935_, net.minecraft.util.AbortableIterationConsumer<U> p_156936_)
     
    <U extends T>
    void
    get(net.minecraft.world.level.entity.EntityTypeTest<T,U> p_156932_, net.minecraft.world.phys.AABB p_156933_, net.minecraft.util.AbortableIterationConsumer<U> p_156934_)
     
    void
    get(net.minecraft.world.phys.AABB p_156937_, Consumer<T> p_156938_)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DummyLevelEntityGetter

      public DummyLevelEntityGetter()
  • Method Details

    • get

      public T get(int p_156931_)
      Specified by:
      get in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>
    • get

      public T get(UUID pUuid)
      Specified by:
      get in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>
    • getAll

      public Iterable<T> getAll()
      Specified by:
      getAll in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>
    • get

      public <U extends T> void get(net.minecraft.world.level.entity.EntityTypeTest<T,U> p_156935_, net.minecraft.util.AbortableIterationConsumer<U> p_156936_)
      Specified by:
      get in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>
    • get

      public void get(net.minecraft.world.phys.AABB p_156937_, Consumer<T> p_156938_)
      Specified by:
      get in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>
    • get

      public <U extends T> void get(net.minecraft.world.level.entity.EntityTypeTest<T,U> p_156932_, net.minecraft.world.phys.AABB p_156933_, net.minecraft.util.AbortableIterationConsumer<U> p_156934_)
      Specified by:
      get in interface net.minecraft.world.level.entity.LevelEntityGetter<T extends net.minecraft.world.level.entity.EntityAccess>