use of mekanism.common.content.blocktype.BlockType in project Mekanism by mekanism.
the class AttributeTier method getPassthroughType.
public static <T extends ITier> BlockType getPassthroughType(T tier) {
if (typeCache.containsKey(tier)) {
return typeCache.get(tier);
}
BlockType type = BlockTypeBuilder.createBlock(MekanismLang.EMPTY).with(new AttributeTier<>(tier)).build();
typeCache.put(tier, type);
return type;
}
Aggregations