Files
StructureLib/src/main/java/com/gtnewhorizon/structurelib/structure/ITierConverter.java
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
267 B
Java
Raw Normal View History

2021-07-22 12:07:12 +08:00
package com.gtnewhorizon.structurelib.structure;
import net.minecraft.block.Block;
/**
* a function to extract tier info from a block.
2022-07-08 17:14:18 +08:00
*
2021-07-22 12:07:12 +08:00
* @param <TIER>
*/
@FunctionalInterface
public interface ITierConverter<TIER> {
2021-07-22 12:07:12 +08:00
TIER convert(Block block, int meta);
}