Interface MultiPartAPIStateHelper.PathProvider

Enclosing class:
MultiPartAPIStateHelper

public static interface MultiPartAPIStateHelper.PathProvider
A simple interface used to provide the path where your file is stored based on state and id
  • Method Summary

    Modifier and Type
    Method
    Description
    provide(net.minecraft.world.level.block.state.BlockState state, String id)
    The method for the functional interface.
  • Method Details

    • provide

      String provide(net.minecraft.world.level.block.state.BlockState state, String id)
      The method for the functional interface.
      Parameters:
      state - the current state
      id - the block id
      Returns:
      the file path.