Class IgnoringMesogleaBlockCollisions

java.lang.Object
com.google.common.collect.UnmodifiableIterator<net.minecraft.world.phys.shapes.VoxelShape>
com.google.common.collect.AbstractIterator<net.minecraft.world.phys.shapes.VoxelShape>
net.frozenblock.wilderwild.entity.impl.IgnoringMesogleaBlockCollisions
All Implemented Interfaces:
Iterator<net.minecraft.world.phys.shapes.VoxelShape>

public class IgnoringMesogleaBlockCollisions extends com.google.common.collect.AbstractIterator<net.minecraft.world.phys.shapes.VoxelShape>
  • Constructor Summary

    Constructors
    Constructor
    Description
    IgnoringMesogleaBlockCollisions(net.minecraft.world.level.CollisionGetter collisionGetter, @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB box)
     
    IgnoringMesogleaBlockCollisions(net.minecraft.world.level.CollisionGetter collisionGetter, @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB box, boolean onlySuffocatingBlocks)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.world.phys.shapes.VoxelShape
     
    static @NotNull Iterable<net.minecraft.world.phys.shapes.VoxelShape>
    getJellyBlockCollisions(@Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB collisionBox, net.minecraft.world.level.Level level)
     
    static boolean
    noJellyCollision(net.minecraft.world.level.Level level, @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB collisionBox)
     

    Methods inherited from class com.google.common.collect.AbstractIterator

    endOfData, hasNext, next, peek

    Methods inherited from class com.google.common.collect.UnmodifiableIterator

    remove

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining
  • Constructor Details

    • IgnoringMesogleaBlockCollisions

      public IgnoringMesogleaBlockCollisions(net.minecraft.world.level.CollisionGetter collisionGetter, @Nullable @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB box)
    • IgnoringMesogleaBlockCollisions

      public IgnoringMesogleaBlockCollisions(net.minecraft.world.level.CollisionGetter collisionGetter, @Nullable @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB box, boolean onlySuffocatingBlocks)
  • Method Details

    • noJellyCollision

      public static boolean noJellyCollision(net.minecraft.world.level.Level level, @Nullable @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB collisionBox)
    • getJellyBlockCollisions

      @NotNull public static @NotNull Iterable<net.minecraft.world.phys.shapes.VoxelShape> getJellyBlockCollisions(@Nullable @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.AABB collisionBox, net.minecraft.world.level.Level level)
    • computeNext

      protected net.minecraft.world.phys.shapes.VoxelShape computeNext()
      Specified by:
      computeNext in class com.google.common.collect.AbstractIterator<net.minecraft.world.phys.shapes.VoxelShape>