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
ConstructorsConstructorDescriptionIgnoringMesogleaBlockCollisions(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 TypeMethodDescriptionprotected net.minecraft.world.phys.shapes.VoxelShapestatic @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 booleannoJellyCollision(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, peekMethods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
computeNextin classcom.google.common.collect.AbstractIterator<net.minecraft.world.phys.shapes.VoxelShape>
-