Interface CorporeaInterceptor

All Known Implementing Classes:
CorporeaInterceptorBlockEntity

public interface CorporeaInterceptor
A BlockEntity that implements this will be able to intercept corporea requests case there is a Corporea Spark on top.
  • Method Details

    • interceptRequest

      void interceptRequest(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit)
      Intercepts a request as it goes. The list of nodes has all the nodes at this point, but the list of stacks is not complete.
    • interceptRequestLast

      void interceptRequestLast(CorporeaRequestMatcher request, int count, CorporeaSpark spark, CorporeaSpark source, List<net.minecraft.world.item.ItemStack> stacks, Set<CorporeaNode> nodes, boolean doit)
      Intercepts a request after all the stacks have been found and processed. Both the list of nodes and stacks is complete at this point.