Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Earthcomputer

Earthcomputer

Forge Modder
 View Profile  See their activity
  • Content Count

    114
  • Joined

    February 11, 2015
  • Last visited

    July 5, 2018

Community Reputation

10 Good

About Earthcomputer

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am a programmer!

Recent Profile Visitors

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

  1. Earthcomputer

    [SOLVED] ShapedOreRecipe not working.

    Earthcomputer replied to deerangle's topic in Modder Support

    Just noticed you're using Blocks.CAULDRON. Cauldrons have their own separate item. Try Items.CAULDRON
    • May 28, 2018
    • 4 replies
  2. Earthcomputer

    [SOLVED] ShapedOreRecipe not working.

    Earthcomputer replied to deerangle's topic in Modder Support

    ModItems.CHOCOLATE_BAR seems to be null when you register the recipe. Make sure you;re registering the recipe after you register the items
    • May 28, 2018
    • 4 replies
  3. Earthcomputer

    ForgeGradle patcher plugin compile errors on src/main/start classes

    Earthcomputer posted a topic in ForgeGradle

    [I'm not sure whether this is the most appropriate place to post this, if not please tell me where to post it and I'll move it there] Hi, I am making a buildscript for a Jar Mod someone else is making, so that they can make it open source. For this I am using ForgeGradle. Since I am not the owner of this project I cannot simply switch away from Jar modding (trust me, I've tried persuading them!). The build system is very similar to how Forge itself is built. I've got the setupCarpet (equivalent of setupForge) task to build successfully. Next I tried to get genPatches to work, but I'm having trouble with this. I'm getting compile errors in the src/main/start classes complaining that the launchwrapper classes don't exist. This is one of them: C:\Users\owner\Documents\CarpetOpenSource\ForgeGradleTest\projects\Carpet\src\main\start\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:28: error: package net.minecraft.launchwrapper does not exist import net.minecraft.launchwrapper.ITweaker; ^ Obviously the launchwrapper library is missing, I have tried many different variations in the buildscript to try and get it to compile with launchwrapper in the classpath, with no success. Here is my latest attempt: subprojects { repositories { maven {url "http://libraries.minecraft.net/"} } dependencies { forgeGradleMcDeps 'net.minecraft:launchwrapper:1.11' } } What's really puzzling me about this is how does Forge not have these errors? I've been following along with Forge's build.gradle and other files and have not seen anything I've done differently. My full buildscript is attached. Thanks in advance for help! build.gradle
    • May 28, 2018
    • 1 reply
  4. Earthcomputer

    drawTexturedModalRect() get a purple square

    Earthcomputer replied to Zee's topic in Modder Support

    The only other thing I can think of is to check whether the texture really exists in src/main/resources/assets/<modid>/textures/icon_party.png, check the spellings exactly, make sure your mod ID is all lower case, and refresh the folder so the IDE knows it's there. If none of those work, I'm at as much of a loss as you are.
    • July 21, 2017
    • 6 replies
  5. Earthcomputer

    drawTexturedModalRect() get a purple square

    Earthcomputer replied to Zee's topic in Modder Support

    What happens if you remove this line? What happens if you change it to 1.0f, 1.0f, 1.0f? (May not be useful right now, but once you've solved the missing texture problem...)
    • July 21, 2017
    • 6 replies
  6. Earthcomputer

    [1.11.2] Gui drawScreen not with FPS

    Earthcomputer replied to SuperHB's topic in Modder Support

    The updateScreen method in GuiScreen is called once per tick and can be overridden in your custom GUI. If you were to make a spinning wheel, for example, you would update the rotation of the wheel every tick in the updateScreen method and then make the wheel spin look smoother in the drawScreen method by using partialTicks.
    • July 21, 2017
    • 8 replies
  7. Earthcomputer

    [1.12] [RESOLVED] Shulker box doesn't generate

    Earthcomputer replied to That_Martin_Guy's topic in Modder Support

    In class TheDarkness, you have then line: GameRegistry.registerWorldGenerator(new WorldGenReliquaryChest(), 0); You have set the generation weight to zero, which means there is zero chance that the world generator will generate.
    • July 3, 2017
    • 19 replies
  8. Earthcomputer

    [1.11.2] The HUD disappears

    Earthcomputer replied to Minebot1708's topic in Modder Support

    Any code to help us answer?
    • July 3, 2017
    • 6 replies
  9. Earthcomputer

    [1.10.2] prevent specified Player to craft some items?

    Earthcomputer replied to MSandro's topic in Modder Support

    First of all, to get the wooden sword item, see the Items class (net.minecraft.init.Items). It contains a list of all the items in vanilla. To test if an item is a wooden sword: if (item == Items.WOODEN_SWORD) To clear the player's inventory of wooden swords: player.inventory.clearMatchingItems(Items.WOODEN_SWORD, -1, 1, null); As for player-sensitive recipes, consider making a custom IRecipe implementation. Diesieben07 made a tutorial on how to do this.
    • June 6, 2017
    • 5 replies
  10. Earthcomputer

    [UNSOLVED][1.10.2]Detect Item Stacking

    Earthcomputer replied to draganz's topic in Modder Support

    Here's an option: Override IContainerListener and add the listener to the container when it is created using Container.addListener. Perhaps the sendSlotContents method is the one you're looking for?
    • November 13, 2016
    • 10 replies
  11. Earthcomputer

    Getting a script to download Minecraft

    Earthcomputer posted a topic in Minecraft General

    I am planning on writing a buildscript which involves downloading the Minecraft client and server from where they are hosted on amazonaws. I know how to do this, I just want to ask about how legal it would be to do so. ForgeGradle does it, but is that just because they got permission? Thanks in advance for answers
    • November 13, 2016
    • 1 reply
  12. Earthcomputer

    [1.10.2] Check if singleplayer and get the player

    Earthcomputer replied to Koward's topic in Modder Support

    - You can use event.getEntity() to get the player. - You are running on the client if e.worldObj.isRemote or if e instanceof AbstractClientPlayer - You will have to cast the entity to EntityPlayer If you want to get the player without the event and you're sure the code is running client-side, use Minecraft.getMinecraft().thePlayer Edit: to check if single player (and you're sure the code is running client-side), there's something along the lines of Minecraft.getMinecraft().isIntegratedServerRunning
    • September 29, 2016
    • 6 replies
  13. Earthcomputer

    First Time Modder Need Help! Should be easy to answer!

    Earthcomputer replied to Kid_Ti's topic in Modder Support

    Try running the command set JAVA_OPTS=-Xmx2g before running gradlew setupDecompWorkspace if you don't want to modify the gradle.properties file
    • September 28, 2016
    • 13 replies
  14. Earthcomputer

    [1.10.2] [Solved] Lines render black in the world

    Earthcomputer replied to Earthcomputer's topic in Modder Support

    After more code digging, I noticed that when the debug screen is opened, GlStateManager.enableTexture2D() is called, and GlStateManager.disableTexture2D() is not called, leading to the inconsistent behaviour with my lines. So, I fixed all my problems with GlStateManager.disableTexture2D() and GlStateManager.disableDepth(). And we all lived happily ever after.
    • September 28, 2016
    • 3 replies
  15. Earthcomputer

    [1.10.2] NPE when creating melee attack AI for a custom entity

    Earthcomputer replied to The_Fireplace's topic in Modder Support

    - initEntityAI() is called by a superconstructor, which is called when you write 'super()' in the second constructor of EntitySkeletonWarrior. - The compiler then inserts statements after this call to the superconstructor to initialize your fields. - Thus, aiAttackOnCollide is null when initEntityAI() is called To fix this, you would probably initialize aiAttackOnCollide inside the addAttackTasks() method you have, instead of where the field is declared.
    • September 27, 2016
    • 1 reply
  • All Activity
  • Home
  • Earthcomputer
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community