Interface SchematicRequirementRegistries.BlockRequirement

Enclosing class:
SchematicRequirementRegistries
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 SchematicRequirementRegistries.BlockRequirement
  • Method Summary

    Modifier and Type
    Method
    Description
    getRequiredItems(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity)
     
  • Method Details

    • getRequiredItems

      ItemRequirement getRequiredItems(net.minecraft.world.level.block.state.BlockState state, @Nullable @Nullable net.minecraft.world.level.block.entity.BlockEntity blockEntity)