Interface SlateDebugIotasResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SlateDebugIotasResolver
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<@NotNull at.petrak.hexcasting.api.casting.iota.Iota>
    getIotas(@NotNull net.minecraft.server.level.ServerPlayer caster, @NotNull BaseCircleDebugEnv debugEnv, @NotNull at.petrak.hexcasting.api.casting.eval.vm.CastingImage imageIn, @NotNull at.petrak.hexcasting.api.casting.eval.env.CircleCastEnv env, @NotNull net.minecraft.core.Direction enterDir, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState bs, @NotNull at.petrak.hexcasting.common.blocks.circles.BlockEntitySlate tile)
    Called in BlockSlate.acceptDebugControlFlow to get the list of iotas to execute for this slate, or null if this resolver does not want to provide iotas for this slate.
  • Method Details

    • getIotas

      @Nullable @Nullable List<@NotNull at.petrak.hexcasting.api.casting.iota.Iota> getIotas(@NotNull @NotNull net.minecraft.server.level.ServerPlayer caster, @NotNull @NotNull BaseCircleDebugEnv debugEnv, @NotNull @NotNull at.petrak.hexcasting.api.casting.eval.vm.CastingImage imageIn, @NotNull @NotNull at.petrak.hexcasting.api.casting.eval.env.CircleCastEnv env, @NotNull @NotNull net.minecraft.core.Direction enterDir, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState bs, @NotNull @NotNull at.petrak.hexcasting.common.blocks.circles.BlockEntitySlate tile)
      Called in BlockSlate.acceptDebugControlFlow to get the list of iotas to execute for this slate, or null if this resolver does not want to provide iotas for this slate. If multiple resolvers return a value for the same slate, the first one registered wins.