Interface SchematicPrinter.PlacementPredicate

Enclosing class:
SchematicPrinter
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 SchematicPrinter.PlacementPredicate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldPlace(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.level.block.state.BlockState toReplace, net.minecraft.world.level.block.state.BlockState toReplaceOther, boolean isNormalCube)
     
  • Method Details

    • shouldPlace

      boolean shouldPlace(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.level.block.state.BlockState toReplace, net.minecraft.world.level.block.state.BlockState toReplaceOther, boolean isNormalCube)