Everything posted by larsgerrits
-
Forge 1.6.4 on MC 2.0.806
1.6.4 is no longer supported by Forge. Update to 1.10.2 or 1.11.2. If you really have to use this (you don't), ask the author of the mod for help. But he will most likely tell the same thing.
-
Plz Help (Crash Report)
Well, make sure you are both using the latest version. The error is caused by the mod trying to do something (casting) which is not possible (casting String to boolean).
-
My Game Is Crashing IDK why (1.10.2)
This is a problem with MoCreatures, report it to the author.
-
Plz Help (Crash Report)
Problem with CustomNPS, report it to the author.
-
Creative tab icon using block?
Item.getItemFromBlock(Block) will return the ItemBlock instance of the Block.
-
1.11.2+ ID Limit?
Just be sure to use metadata/blockstates, and not every variant it's own ID. This will significantly decrease the amount of IDs you use.
-
1.11.2+ ID Limit?
No, this is the complete total of the game. May I ask why you are using that much Block IDs? Note: if you are talking about the IDs in your inventory, they are the IDs of the ItemBlocks, which are Items.
-
1.11.2+ ID Limit?
IIRC, 4096 for Blocks and, ~32000 for Items.
-
Decompile Mod
Well, if you want to decompile the mod for 1.10.2, you should have a 1.10.2 workspace setup to use.
-
Decompile Mod
As long as you have permission of the author (which you seem like you have), you should decompile it using BON2. I think it does require you to have a Forge dev environment already setup for it to find the MCP mappings.
-
Client Crash on 1.10.2 when looking at any Item in Inventory
The FoamFix-lawful edition is not a coremod, while the anarchy edition is. See this.
-
Connect with Eclipse
You can add --username YourUserName to the program arguments to set your username in-game. If you want to actually log in to your account, add--password YourPassword to the program arguments.
-
Player enters area
You can use these coordinates to determine the smaller and bigger coordinate of each axis, and check if the player's position is the coordinates.
-
[Solved] Gui not opening
You return false in ContainerFluxedStomper#canInteractWith.
-
[Solved] Gui not opening
Please post your IGuiHandler.
-
Loading textures, models, and translations on the fly....
You'd have to make a custom implementation of IResourcePack, add it to Minecraft#defaultResourcePack (you'll need reflection), which can return any InputStream you want.
-
Loading textures, models, and translations on the fly....
You don't have to register a ResourceLocation. You just bind it with TextureManager#bindTexture, and that does everything for you. You can make a different ResourceLocation anytime you want, and it loads it for you. A ResourceLocation takes 2 arguments: a modid and a texture location. So new ResourceLocation("modid", "path/to/texture.png") will point to a texture in assets/modid/path/to/texture.png.
-
Loading textures, models, and translations on the fly....
Only the Block and Item textures are stored in a texture atlas. Armor, entity and GUI textures use a ResourceLocation. See TextureManager#bindTexture to see how it works.
-
[1.10.2] Block specific id's...?
Just to clear things up a bit: if with IDs you Block IDs, use my suggestion. If you were talking about your own IDs like RFTools, use Choonster's suggestion.
-
[1.10.2] Move the camera to the position of an entity?
Try setting Minecraft#renderViewEntity to your Entity using the setter.
-
Basic Mob Entinty code Crashed Minecraft
They were most likely carried over from before the migration.
-
[1.10.2] Block specific id's...?
You shouldn't use IDs, as those may not be the same every time you use them. You should either store a Block/IBlockState instance, and save the registry key/metadata to NBT when you need to. Why did you want to use IDs over anything else in the first place?
-
Problem Creating a Gui Handler
This is not your gui handler.
-
Get hand drop chance
You should really use the method Choonster suggested, as NBT should only be used for saving to disk, not getting data from an Entity.
-
[1.10.x] Fluids
new ModelResourceLocation("modexample:" + BlocksRegister.OIL.getRegistryName(), "fluid"); You still add your modid to the registry name, which already includes your modid, Right now, you have "modexample:modexample:oil". Makes sense it can't find it. As said before, fix that.
IPS spam blocked by CleanTalk.