This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-13 20:37:21 +00:00
|
|
|
package com.thebrokenrail.energonrelics.client;
|
|
|
|
|
2020-07-16 18:50:18 +00:00
|
|
|
import com.thebrokenrail.energonrelics.EnergonRelics;
|
2020-07-13 20:37:21 +00:00
|
|
|
import com.thebrokenrail.energonrelics.block.util.EnergyProviderBlock;
|
|
|
|
import net.fabricmc.api.ClientModInitializer;
|
|
|
|
import net.fabricmc.api.EnvType;
|
|
|
|
import net.fabricmc.api.Environment;
|
2020-07-16 18:50:18 +00:00
|
|
|
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
|
|
|
|
import net.minecraft.client.render.RenderLayer;
|
2020-07-13 20:37:21 +00:00
|
|
|
|
|
|
|
@Environment(EnvType.CLIENT)
|
|
|
|
public class EnergonRelicsClient implements ClientModInitializer {
|
|
|
|
@Override
|
|
|
|
public void onInitializeClient() {
|
|
|
|
EnergyProviderBlock.initRenderer();
|
2020-07-17 03:55:31 +00:00
|
|
|
BlockRenderLayerMap.INSTANCE.putBlock(EnergonRelics.THERMAL_GLASS_BLOCK, RenderLayer.getCutout());
|
2020-07-16 18:50:18 +00:00
|
|
|
BlockRenderLayerMap.INSTANCE.putBlock(EnergonRelics.DEFENSIVE_LASER_BLOCK, RenderLayer.getCutout());
|
2020-07-13 20:37:21 +00:00
|
|
|
}
|
|
|
|
}
|