Interface SchematicStateFilterRegistry.StateFilter

Enclosing class:
SchematicStateFilterRegistry
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 static interface SchematicStateFilterRegistry.StateFilter
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.state.BlockState
    filterStates(@Nullable net.minecraft.world.level.block.entity.BlockEntity be, net.minecraft.world.level.block.state.BlockState state)
    Write filtered, state info to the given block.
  • Method Details

    • filterStates

      net.minecraft.world.level.block.state.BlockState filterStates(@Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity be, net.minecraft.world.level.block.state.BlockState state)
      Write filtered, state info to the given block. This is always called on the logical server.