Interface ConstructorStrategyFactory

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

@API(status=STABLE, since="2.0.0-milestone.2.11") @FunctionalInterface public interface ConstructorStrategyFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    create(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, UpgradeState upgradeState, boolean dropItems)
     
    default int
     
  • Method Details

    • create

      Optional<ConstructorStrategy> create(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction, UpgradeState upgradeState, boolean dropItems)
    • getPriority

      default int getPriority()