larsgerrits
Members-
Posts
3462 -
Joined
-
Last visited
-
Days Won
17
Everything posted by larsgerrits
-
Have you looked at the ForgeGradle Cook Book? It tells you have to make a Javadoc JAR. I have not used it before, so I don't know if it generates the Javadoc of your mod, or Forge's Javadoc.
-
You have a missing texture, so look at the log for missing textures...
-
You use the API.
-
No, you can't have directional lighting without fake air blocks. And no, 15 is the maximum light level.
-
I'm pretty sure that you have to set the Block's materials to Material.water to fix this.
-
[solved]Working on my mod but cant get smelting to work (1.8.9)
larsgerrits replied to Anora's topic in Modder Support
Do you call Smelting.init() ? If so, show where. -
The latest version of InventoryTweaks is for Minecraft 1.8.9, no wonder it would crash when installed on MC 1.9.
-
I think it will be much easier to rewrite your mod in the current version. Updating it through each version would make the code sloppy and you can add more abstractions to make it easier to expand on later. For the complicated stuff, you can copy-paste stuff from the old version over with a little bit of tweaking.
-
[1.9] Forge API of some sort? [UNSOLVED + A few questions]
larsgerrits replied to Zodsmar's topic in Modder Support
There is also the Forge Documentation you can refer to. -
java.lang.NullPointerException: Initializing game at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:217) at thaumcraft.common.Thaumcraft.postInit(Thaumcraft.java:221) Yes, it has something to do with Thaumcraft. Try updating it to the latest version for the game version you're playing on, or remove it.
-
[1.9] To much blockstate combinations... [Unsolved]
larsgerrits replied to larsgerrits's topic in Modder Support
I am now using unlisted properties and extended blockstates, and now it isn't looking for variants from the blockstate file, because they are all unlisted... It is currently looking for the normal variant in the blockstate file, not other variants. Any other suggestions/fixes? -
I'm trying to add 3 properties to my block, which all ranges from 0 to 46. This results in 47*47*47=103823 different blockstate combinations. Now I'm trying to get around this by using the Forge blockstate system. This works for the models, only having to make 3*47=141 variants, but loading the game still takes way too long to be acceptable (15+ minutes). Trying to make a StateMapper ignoring the properties also doesn't effect the loading time. Note: none of these values are saved to metadata, all of them get calculated in BlockConnectedGlass#getActualState() . Is there any way to get around this, fix this, or is there some place you can suggest to start debugging?
-
As you are still on 1.7.10 (why???), and I think you mean "connected textures", you can override one of the getIcon methods to return a texture based on surrounding blocks. There are a few tutorials on the internet for connected textures.
-
What do you mean with "GameRegistry isn't working"? It is working fine for me... A few methods have been marked deprecated though, if that's what you mean?
-
I can`t find any sources on making name tags above blocks? [1.7.10]
larsgerrits replied to DireWand's topic in Modder Support
You don't. You have to make a getter to return the timer variable, and use that instead of NBT. -
Look at ItemColors . It registers various IItemColor instances to recolor items. In there is also where the colored layer of leather armor is colored. Also, take a look at one of the leather armor model files.
-
Seriously? That one is solvable by just reading it. "The method ... must override or implement a supertype method". You added the @Override to a method which doesn't exist in the supertype (CommandBase for you).
-
Curious about forge updates notifications
larsgerrits replied to TheRunnerFive's topic in General Discussion
http://www.minecraftforge.net/forum/index.php/topic,37944.msg199782.html -
[SOLVED][1.9] ForgeSrc library missing (and several errors)!
larsgerrits replied to Zakru's topic in Modder Support
You did run gradlew eclipse , right? -
Ore dictionary custom furnace recipes?
larsgerrits replied to Koopamillion's topic in Modder Support
1) You get a List<ItemStack> returned, not an ItemStack[] . 2) Go through every ItemStack in that List and check if the input is in that list. -
For one, why are you still on 1.7.10? Forge already has beta builds for 1.9... Second, I don't think you know what you're doing. You called your block BlockCompressor , but you have several variables or methods with "macerator" in it. Like maceratorRand . This leads me to thinking you are randomly copy-pasting a tutorial or the vanilla furnace code.
-
[1.9] Unable to access any fields on Forge events
larsgerrits replied to Cendrb's topic in Modder Support
After every Forge update, make sure to run gradlew eclipse to set the workspace up with the new Forge version. Else, you get desynch issues like you had. -
You are trying to pass a Block as third parameter, but it wants an Predicate<IBlockState> . To get one, use BlockHelper.forBlock(Block) .