Everything posted by larsgerrits
-
[SOLVED] Problem with block icon (block is model by techne)
Take that method and return false.
-
Forge install cmd
You should probably use version .964, as that is for minecraft 1.6.4 and uses ForgeGradle as that's the way to go in the future.
-
[1.7.2] Using the Ore Dictionary in Crafting Recipes?
Then you need to make a custom CraftingHandler to make check if four different items are in the crafting grid.
-
Custom rendered block trying to take texture from default Minecraft instead.
In your TileResourceLocation, you have the addModel method. In there you return a ResourceLocation. You need to put in the modid of your mod in to, so in your case it is: return new ResourceLocation(YOUR_MOD_ID, modelPrefix + text+".png");
-
[SOLVED] Problem with block icon (block is model by techne)
Look in the block class for the method 'shouldSideBeRendered()' and overridetat method to return false. That way the block doesn't render the icon in the world, but it is in the inventory.
-
[SOLVED] Problem with block icon (block is model by techne)
Do you want to add a icon so that the particles are correct, or do you actually want it to render the icon at the side of the block?
-
[1.7.2] Using the Ore Dictionary in Crafting Recipes?
Make a shapeless recipe with the four items.
-
[Solved][1.7.2]Crash on opening a GUI
Do you have a GuiHandler? If not, you need one, and you need to register it so it can actually be called.
-
[SOLVED][1.6.4]Large Oak Tree Generation In Custom Dimension !!HELP NEEDED!!
In the world generator where you generate the tree, you can use World.getBiomeGenForCoords to get the BiomeGenBase of that coords, and if you compare that to the biome you want it to generate in, generate it, else don't.
-
java.lang.NoSuchFieldError: rock
Then you'll have to call the 'gradlew build' in the command line, so the mod actually properly reobfuscates.
-
[1.7] World crashes on save after I added NBT
In your update method, you are trying to get the controller using the controllerId which is one if it isn't initialized, so if the entity with entityID 0 doesn't exists, it crashes.
-
java.lang.NoSuchFieldError: rock
You haven't reobfuscated your mod properly. What Forge/Minecraft version are you using?
-
texture issues
In the registerIcons method, you need to change the second topIcon array to an actual array using topIcon = ***;
-
[1.6.4] How to make a wire that transfer energy.
Energy is just a variable in code, so you need to have a method that add power to the block next to it, and that block must do the same, until you hit a machine and add the power in there.
-
[Unsolved] Error when importing a Gradle project [1.7.2]
Look at the main post.
-
[SOLVED] Can't edit files
Can you link those tutorials?
-
[Unsolved] Error when importing a Gradle project [1.7.2]
When i run 'gradlew setupDecompWorkspace' in the command line, i got the same error:
-
[1.6.4]Rendering an item in the world, when it is put in an Inventory
http://www.minecraftforum.net/topic/2571061-forge-rendering-an-item-on-your-block/
-
Get All players on a Server in a 'KeyHandler'
You need to send packets to get server data on the client and vice versa.
-
Item not showing up
What minecraft version are you using? If you using 1.7.x, you need to register the item with GameRegistry.registerItem().
-
[Solved] Multiblock structure not working [1.7.2]
Fixed it! I checked if the multiblock structure i correct, and if so, reset. I needed to check if the multiblock structure is NOT correct, and then reset. I always hated that sort minor mistakes that makes your whole thing not work.
-
Version Number confusion
It's in the Minecraft project, you should see it as 'Referenced Libraries' and then the first one in the list: 'forgeSrc-*******'.
-
[1.7.2] Detect the current GUI
In 1.7.2, @ForgeSubscribe has changed into @SubscribeEvent. Then you need to register the class where the method in is, in the proper event bus.
-
[Solved] Multiblock structure not working [1.7.2]
I kinda get what i mean. If i place my structure right on world spawn (61,1835), i crashes if iright click on the block, because there's no block of that type at the coordinates 0,0,0. But if i actualle place a block of that type at 0,0,0, it opens the same gui on every block of the multiblock structure. So the only problem is the coordinate system, as why they aren't set to the current coords.
-
[Solved] Multiblock structure not working [1.7.2]
After some more debugging, i found out that if i place this line to the onBlockActivated method in my block class: System.out.println(tileentity.getMasterX() + ":" + tileentity.getMasterY() + ":" + tileentity.getMasterZ()); it prints this to the console: 0:0:0, so the master isn't actually set anywhere, but i don't know why.
IPS spam blocked by CleanTalk.