Class InFluidCondition

java.lang.Object
com.hypixel.hytale.server.core.modules.entity.condition.Condition
com.hypixel.hytale.server.core.modules.entity.condition.InFluidCondition

public class InFluidCondition extends Condition
A condition that checks whether the entity's bounding box overlaps any block position containing a fluid matching one of the configured fluid IDs or tags.

Returns true when at least one block within the entity's bounding box contains a matching fluid.