Fix #829 hopefully
This commit is contained in:
parent
7bd8cf8562
commit
ab1b1ca409
2 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,6 @@ import net.minecraftforge.common.DimensionManager;
|
|||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.hud.StackInfoElement;
|
||||
import reborncore.client.hud.StackInfoHUD;
|
||||
import reborncore.common.util.ChatUtils;
|
||||
import reborncore.common.util.Color;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
|
@ -32,7 +31,6 @@ public class ItemFrequencyTransmitter extends ItemTRNoDestroy {
|
|||
setUnlocalizedName("techreborn.frequencyTransmitter");
|
||||
setCreativeTab(TechRebornCreativeTabMisc.instance);
|
||||
setMaxStackSize(1);
|
||||
StackInfoHUD.registerElement(new StackInfoFreqTransmitter());
|
||||
this.addPropertyOverride(new ResourceLocation("techreborn:coords"), new IItemPropertyGetter() {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public float apply(ItemStack stack,
|
||||
|
|
|
@ -20,6 +20,7 @@ import net.minecraftforge.fml.client.registry.RenderingRegistry;
|
|||
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
import reborncore.RebornCore;
|
||||
import reborncore.client.hud.StackInfoHUD;
|
||||
import reborncore.client.multiblock.MultiblockRenderEvent;
|
||||
import reborncore.common.blocks.BlockMachineBase;
|
||||
import techreborn.Core;
|
||||
|
@ -35,6 +36,7 @@ import techreborn.client.render.ModelDynamicCell;
|
|||
import techreborn.client.render.entitys.RenderNukePrimed;
|
||||
import techreborn.entitys.EntityNukePrimed;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.items.ItemFrequencyTransmitter;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.manual.loader.ManualLoader;
|
||||
|
||||
|
@ -67,6 +69,7 @@ public class ClientProxy extends CommonProxy {
|
|||
@Override
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
super.preInit(event);
|
||||
StackInfoHUD.registerElement(new ItemFrequencyTransmitter.StackInfoFreqTransmitter());
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNukePrimed.class, new RenderManagerNuke());
|
||||
|
||||
ManualLoader loader = new ManualLoader(new File(event.getModConfigurationDirectory(), "techreborn"));
|
||||
|
|
Loading…
Reference in a new issue