Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

The Simon

Members
  • Content Count

    23
  • Joined

  • Last visited

About The Simon

  • Rank
    Junior Member
  • Birthday 05/03/1998

Profile Information

  • Gender
    Male

Contact Methods

  • Minecraft
    simon_kungen

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi I ran into the problem showing up here: I made a issue suggestion report here explaining the problem. But due to the mod being focused more to later versions of Minecraft it might be better to make an addon instead. I haven't modded Minecraft that much and simply only made a few mods to create items and items in use with Baubles API. But I kind of got stuck right away when adding a new module: ModuleFacade.java package net.simon.tiscovers.items; import li.cil.tis3d.api.machine.Casing; import li.cil.tis3d.api.machine.Face; import li.cil.tis3d.api.machine.Port; import li.cil.tis3d.api.util.RenderUtil; import li.cil.tis3d.client.renderer.TextureLoader; import li.cil.tis3d.common.module.ModuleDisplay; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumHand; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ModuleCover extends ModuleDisplay { private Casing casing; private Face face; public ModuleCover(Casing casing, Face face) { super(casing, face); } @Override public Casing getCasing() { return this.casing; } @Override public Face getFace() { return this.face; } @Override public void onInstalled(ItemStack itemStack) { } @Override public void onUninstalled(ItemStack itemStack) { } @Override public void onEnabled() { } @Override public void onDisabled() { } @Override public void onDisposed() { } @Override public boolean onActivate(EntityPlayer player, EnumHand hand, float x,float y,float z) { if (player.isSneaking()) { return false; } // Reasoning: don't remove module from casing while activating the // module while the casing is disabled. Could be frustrating. if (!getCasing().isEnabled()) { return true; } return true; } @Override public void step() { } @Override public void onBeforeWriteComplete(final Port port) { // No need to clear other writing pipes because we're outputting random // values anyway, so yey. // Start writing again right away to write as fast as possible. } @Override public void onWriteComplete(final Port port) { // No need to clear other writing pipes because we're outputting random // values anyway, so yey. // Start writing again right away to write as fast as possible. } @SideOnly(Side.CLIENT) @Override public void render(final boolean enabled, final float partialTicks) { if (!enabled) { return; } RenderUtil.ignoreLighting(); GlStateManager.enableBlend(); RenderUtil.drawQuad(RenderUtil.getSprite(TextureLoader.LOCATION_OVERLAY_MODULE_RANDOM)); GlStateManager.disableBlend(); } } Some help is greatly appreciated. For the time being, I simply want the mod to compile and adding the new module.
  2. Hi! I have two screens and two graphics cards on my server, I want it to use one of them every time I boot the computer. As it is right now it chooses one of the two graphics cards randomly whenever I boot and binding them or changing the primary component with rc doesn't seem to fix the issue. Right now I simply spam click the power button until it selects the right monitor.
  3. I had an idea to use 3D models to make a nice transition between my wall and the floor, but as all 3D models all have in common is that they usually become a bit darker than their original counterpart. I have tried a bunch of solutions to fix this; giving it a light level, placing a light source behind it, changing the tint. You guys got any tips I could try to possibly fix this issue? Otherwise, I will have to do another solution other than 3D prints.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.