Everything posted by larsgerrits
-
[1.7.2] [solved] Achievements not activating?
He tells you to use the FMLCommon.instance().bus() instead of the MinecraftForge.EVENT_BUS.
-
Version Number confusion
You did it totally wrong. You should be reading it as: My mod is a cow!
-
[Solved] Multiblock structure not working [1.7.2]
I followed a tutorial to make a multiblock stucture (Click here for link!). I modified it a little bit so the master block is in the middle-middle, instead of the middle-bottom. It instantiates the structure fine, but if i try opening the gui, It doesn't open. I tested a little bit, and i figured out that that the master block is the only block in the structure that has the hasMaster value set to true. But if i understand the tutorial correctly, it should set the value hasMaster to true of all blocks in the structure. Relavent code for the structure: TileEntity: Block class:
-
Version Number confusion
WTF???
-
[Unsolved] Error when importing a Gradle project [1.7.2]
I get an error when importing a gradle project with the independent setup mention in the tutorial post of GotoLink. I got this error when clicking the 'Build Model' button: This is my build.gradle:
- Block properties
-
[1.7.2] GLError @ Post Render 1286: Invalid framebuffer operation [SOLVED]
If your using forge version 1057, you ned to downgrade to 1056 or upgrade to 1058 or higher. 1057 has some major bugs in it, so you shouldn't be using it.
-
[1.7.2] armor material in configuration file
Where do you call the init method in your Configuration class?
-
Can't set custom Item or Block IDs? (1.7.2)
No, because you register the items with a string, so that's how minecraft now determins what item's should go where. So you shouldn't have to worry about that.
-
Can't set custom Item or Block IDs? (1.7.2)
Why would you want that?
-
[How-To]Build multiple separate projects with Gradle
I searched over the internet, but i couldn't find a solution. Can you help me with this or are you out of ideas too?
-
[Solved][1.6.4]Gun projectile problem.
You are spawning the entity in the world client-side.
-
[1.6.4]Tile Entity rendering issue?
Override the getRenderBoundingBox in the TileEntity class (maybe it's called something else, but you should be able to find it because of the word "Render")
-
Can't set custom Item or Block IDs? (1.7.2)
Forget about IDs. You should need to worry about them anymore, as they are handled internally.
-
[How-To]Build multiple separate projects with Gradle
I ticked the "Run before" box, and changed that line next to it to "cleanEclipse setupDevWorkspace eclipse", but i got the same error.
-
[1.7.2][SOLVED] Problems with gui Progress bar
The client and the server are desynchronized. You should look into getDescriptionPacket() and onPacketData().
-
[How-To]Build multiple separate projects with Gradle
I get an error when importing a gradle project with the independent setup: This is my build.gradle:
-
[1.7] Moving where ".lang" file is found
If you use this code: this.setBlockName("modid:texture"); the texture path is FORGE_FOLDER\src\main\resources\assets\modid\textures\blocks\texture.png. So if you change that to: this.setBlockName("texture_folder:texture"); the texture path is FORGE_FOLDER\src\main\resources\assets\modid\textures\blocks\texture.png. So if you change the string before the column, it changes the directory to that name.
-
[1.7.2] Empty bucket + Custom Fluid returns a bucket of water?
When you right click with a bucket, it check for the material of the block you clicked on, and if that's Material.water, i return a water bucket, and the same for lava.
-
block texture not updating
You should do that server side, so chech for that with if (!world.isRemote) {DO STUFF IN HERE}
-
Problem with "icons"
You never initialize IconArray
-
1.7.2 - Adding a prewritten book to player's inventory
For the text, i think you can use NBT to set the text, so you need to experiment a little with that. Or you could just do it as Tinker's Construct, make a new item and on right click, open a gui with the text in it.
-
[SOLVED][1.7.2]My entity render causes server side crash`
Yeah you should register your renderers client-side. BTW, make sure you remove all the "__OBFID" field from your class, it fucks up the obfuscation
-
[1.7.2] Dropping an Item Stack (Client)
Why do you want to drop a ItemStack on the client-side?
-
[1.7.2] block model doesn't render on the right place
public TileEntity entity; You're rendering your model with BasicTileEntity, but in your block code you return a TileEntity. Try returning the correct one.
IPS spam blocked by CleanTalk.