Class AndConnectionPredicate

java.lang.Object
com.supermartijn642.fusion.predicate.AndConnectionPredicate
All Implemented Interfaces:
ConnectionPredicate

public class AndConnectionPredicate extends Object implements ConnectionPredicate
Created 28/04/2023 by SuperMartijn642
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Determines whether this connection predicate depends on the level and should always be reevaluated.
    boolean
    shouldConnect(net.minecraft.core.Direction side, @Nullable net.minecraft.world.level.block.state.BlockState ownState, net.minecraft.world.level.block.state.BlockState otherState, net.minecraft.world.level.block.state.BlockState blockInFront, ConnectionDirection direction)
    Determines whether the model should connect to the given direction.
    boolean
    shouldConnect(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, @Nullable net.minecraft.world.level.block.state.BlockState ownState, net.minecraft.world.level.block.state.BlockState otherState, net.minecraft.world.level.block.state.BlockState blockInFront, ConnectionDirection direction)
    Determines whether the model should connect to the given direction.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.supermartijn642.fusion.api.predicate.ConnectionPredicate

    and, negate, or