Everything posted by larsgerrits
-
[1.7.10] Rendering .obj models as Blocks
Caused by: java.io.FileNotFoundException: snm:models/ballmodel.obj Looking helps
-
<FIXED LIKE A BEAST>1.7.10 Registering a entity is not working.
You really have a lack of programming knowledge. This has nothing to do with Java, but programming in general. If you need new arguments in a method you created, you modify the method to support those new arguments. Is your code after all.
-
Version checker?
Is the Init method in ClientProxy called?
-
[1.8] Item texture not rendering
http://www.minecraftforge.net/forum/index.php/topic,21354.0.html 3rd paragraph.
-
can't move items inside block inventory
Issues with the Container are caused because the server doesn't know it the Container is open. Guis with Containers always have to be opened on the server side.
-
Where to Learn Java
[lmgtfy=java tutorial]First link[/lmgtfy]
-
Texture not Showing
Mod ID has to be all lower-case.
-
[Mod] Change item texture on Right Click with item in hand
Use the onItemRightClick method (may or may not be the right name, not at my workspace atm) and change the state from the Item in there. Remember: you have to store the state in the ItemStack's NBT.
-
[1.7.10][Redstone Flux API] RF Storage Block
1) Why do you implement IInventory when you always return null in getStackInSlot ? 2) If ThermalDynamics is doing things only server side, it might be because server<->client desynch. Try marking the block for update after the extractEnergy method.
-
[1.7.10][Redstone Flux API] RF Storage Block
Show your TileEntity code.
-
[1.7.10][Redstone Flux API] RF Storage Block
You shouldn't have to 'push' energy to the Fluxducts. Let the Fluxducts do the work of 'pushing' and 'pulling' energy to and from your TileEntity.
-
Object[]s in Crafting Recipes
It makes no difference. But it is a varargs parameter, so why use the Object[]?
-
Entity position is set to 0|0|0 somehow
You have to set the position before you spawn it.
-
Entity position is set to 0|0|0 somehow
Code would be nice, like the method you use to spawn the entity.
-
Mods for older Forge-Versions
Tell the Cauldron makers to upgrade to a later forge version.
-
[1.8] [SOLVED]Updating a horizontally spreading block
Define 'still not working'.
-
[1.8] [SOLVED]Updating a horizontally spreading block
No, you add to the original BlockPos twice. You can just use the BlockPos parameter, and use the up(),down(),north(),etc. methods to add/subtract one.
-
[1.8] 3D Model Problem
To have the glass rendered properly, you'd have to re-add the getBlockLayer() method to return the same EnumWorldBlockLayer as the glass block.
-
[1.8] 3D Model Problem
Override isOpaqueBlock in your block class to return false.
-
cant get ore to drop item
That shouldn't even compile. That field doesn't exist anymore. The method requires an Item as the result, so just returning the Item will work. Also, please rename the parameters to something readable, it will make everyone's life better.
-
MOVED: Crashed on server with mods!
This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=30433.0[/iurl]
-
Crashed on server with mods!
17.05 05:10:59 [server] main/INFO [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: Caused by: java.lang.ClassNotFoundException: codechicken.lib.asm.ASMInit It seems like CodeChickenLib isn't there. Do you have CodeChickenCore?
-
[1.8] Get chunk Coords [SOLVED]
You can get the using blockPositionX & 15 , the same for Z;
-
How to export .jar file from .java file?
Use gradlew build to build your mod.
-
[1.8] Get chunk Coords [SOLVED]
You do not need to calculate chunkY, as a chunk is from y=0 to y=255.
IPS spam blocked by CleanTalk.