Everything posted by larsgerrits
-
[1.7.10] How To Make A Custom Flying Mob?
There are plenty of examples in vanilla code, like EntityBlaze and EntityGhast.
-
Rendering an Item with a TESR?
GL11.glScaled(scale,scale,scale); . A scale of 0.5 is half the original size, and a scale of 2 is twice as large.
-
[1.7.2]I Broke my dev environment any ideas how to fix it?
Try updating Forge.
-
[1.7.10] Item adding ToolTip
Show what you have tried.
-
[1.7.10] Entity incorrectly rendering, doesn't use model requested
java.lang.IllegalArgumentException: ID is already registered: Fireball
-
[SOLVED]setHarvestLevel not working correctly
You are setting the block's harest level, before you initlize the block, so you set the harvest level of null .
-
MinecraftForge 1.8
They are already working on building a stable FML version for MC 1.8, and then they start working on Forge, so that's gonna take a while.
-
[1.7.10] Send Packets From GUI
If you want to open a GUI that extends GuiScreen directly, you can just use Minecraft.getMinecraft().displayGuiScreen(new YourGUI()) . Else, you will have to use packets.
-
[1.7.10] [Resolved] How to check Item in Slot - TileEntity Interface
Show your code?
-
[1.7.10] Get Access To NBT From A Different Class
Yeah, you don't set the itemstack variable anywhere, so how would you expect it to not be null?
-
[1.7.10] Get Access To NBT From A Different Class
Either enteredPin , itemstack or stackTagCompound null. Put a breakpoint on that line so you can see which was is null.
-
[Solved][1.7.10] Custom Rendering
Sorry, i meant "put a breakpoint inside the [/code]render(float)[/code] method and see if any if those values are null"
-
[Solved][1.7.10] Custom Rendering
Try putting a breakpoint at the render(float) and inspect all the different model parts in the render(float) to see if anyone of those is null.
-
[Solved][1.7.10] Custom Rendering
Can you post the ModelAlchemyCauldron class using pastebin? I suspect there are some issues with your model (probably a fault from Techne again)
-
How to detect if player is pressing shift
That doesn't work, as if you want to read the info from addInformation() you must be in the gui, and in a gui you can sneak, so that will always be false when in a gui.
-
[1.7.10] Gui Button Limit?
Why are you adding buttons EVERY TICK??? Move those calls to buttonList.add(*); to initGui() and see if that makes a difference.
-
MinecraftForge 1.8
That's because they're test versions. Here's the link: http://files.minecraftforge.net/fml//1.8
-
[1.7.10] Crop rendering crashes
Yes, there's a method called getDrops in the Block class in which you need to return an ArrayList<ItemStack> containing the ItemStacks that you want to drop.
-
Reading from NBT issue
The readFromNBT() method only gets called on the server side. So the server knows the saved value (1000mB), but the client still has the default value (0mB). To solve this add the methods from brandon3055 post.
-
[1.7.2] Src Not found error
Run gradlew setupDecompWorkspace instead of gradlew setupDevWorkspace
-
New Command
Instead of annotating it with @Subscribe , use @EventHandler .
-
Ore dont spawn
I'm sorry, my magical code viewing device is broken. Can you manually post your code please?
-
Using NBT With Blocks
Try making the tile variable in the mathod itself, instead of making a fieldin the Block class.
-
[1.7.10]Error while loading fluid blocks
You never call ModFluids.init(); . Be sure to call it before ModBlocks.init();
-
[1.7.10] Tessellator not rendering
You don't understand (from what i can see in te code) the use of proxies. Go look up a tutorial on how to use proxies.
IPS spam blocked by CleanTalk.