Everything posted by larsgerrits
-
[1.8] Error during setup of the enviorment!
Question: Where did you get FML/Forge 1.8? I can't find it.
-
How would I check for a type of block at a specific location?
Rather then comparing the unlocalized names at all, just compare the items/blocks themself: if(block == myBlock)
-
[1.7.10] Item Order Randomized in Creative Tab
Well in the Comparator you can sort it like you want. You can sort based on name, id, block/item.
-
[1.7.10] Item Order Randomized in Creative Tab
In the Tutorials section is a nice tutorial by diesieben07 for sorting CreativeTabs.
-
tileEntity does not save data and not Refresh render..
The constructor is called twice, ones for the server and ones for the client. That's why you need to sync the two, as the server and the client both have different copies of the TileEntity which can contain different values than the TileEntity on the other side.
-
[Solved]How to find out if a player is on fire
- Question on registering custom doubleslabs [Solved]
When you are registering your block, you need to specify the ItemBlock too. GameRegistry.registerBlock(block,CustomItemBlock.class,name);- [1.7.10] Blocks with different textured sides??
You do it the same way as other Strings in Java.- [1.7.10] Blocks with different textured sides??
Then you should know how to make a String.- [1.7.10] Blocks with different textured sides??
Do you know Java?- [1.7.10] Command to give a clickable link
No, it means that that method is available from EntityPlayer, but you need an instance of the class for it to call.- need help with smelting an ore
You need to register the Blocks and Items in FMLPreInitializationEvent.- Detect all nearby entities to player and then shoot lightning at them
No, they are vanilla files and you can look at them yourself (located at Referenced Libraries->forgeSrc.jar)- how to detect if a class implements an interface
Did you register your TileEntitiy? Of the Battery and the Cable?- [1.7.2] Customizing ItemStacks with GUI
You need to use packets to tell the server to customize the ItemStack and then let the server modify the container including the ItenStacks.- [1.7.10] Minecraft not rendering entity (trying to make bullets)
Do you have a GitHub repository? If not, are you willing to make one? Here's a tutorial by Jabelar: http://jabelarminecraft.blogspot.nl/p/minecraft-forge-publishing-to-github.html- [1.7.10] Minecraft not rendering entity (trying to make bullets)
Question: Why do you have this code in your FMLPostInitializationEvent: if (event.getSide() == Side.CLIENT) Minecraft.getMinecraft().refreshResources(); } Maybe you could try moving the proxy.registerRenderInformation() to the FMLInitializationEvent.- [1.7.10] Custom entity renderer isn't rendering
First: You should initialize/register your blocks in the FMLPreInitializationEvent. Second: Doesn't the RenderingRegistry line show a compile error? Because you are missing some parentheses when making a new constructor of RenderMyExplosive.- [1.7.10] Minecraft not rendering entity (trying to make bullets)
First: Please use code tags: [.code]Code Here[./code] (without the dots) Second: Try adding something like System.out.println("rendering!") in your render method. If that spams out the console, it is something wrong with the renderer, or else with the registration with the renderer.- [1.7.10] Custom entity renderer isn't rendering
Try putting something like System.out.println("rendering!") in your render class. If that's called, it is something with the renderer, or else it is with the registration of the renderer.- [1.7.10] Minecraft not rendering entity (trying to make bullets)
Are you calling proxy.registerRenderInformation() .- Registering Textures and Language Files? [SOLVED]
You did not what is said you to do. I said:- Registering Textures and Language Files? [SOLVED]
Your modid you pass in at the @Mod annotation doesn't match up the modid used in your assets/<modid>/textures/* path. You need to change your modid you pass in at the @Mod annotation to "infiniteDiamonds".- A block that can have 12 possible orientations [SOLVED FOR NOW] [1.7.10]
You might need to play a little bit with the player's jaw to determine if the player is facing down or up, and with the player's pitch to determine the rotation of the Block.- Saving A ForgeDirection[] to NBT [SOLVED] [1.7.10]
You can save the ordinals of it using (for example) ForgeDirection#ordinal() . - Question on registering custom doubleslabs [Solved]
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.