-
[1.6.2] [Solved] Config file doesn't work
The way you do this, instance of ItemKnot is created even before your mod is loaded properly. So that means that you try to read knotID value from configHandler before it is initialized. Try creating instance of ItemKnot in public void load(FMLInitializationEvent event) method. That should help.
-
Custom Renderer with Transparent textures
So... I've seen it before in Thaumcraft 3 mod, where Azanor somehow used transparent textures while rendering Tile Entities: I wonder how it is possible? When using regular model rendering with boxes all the alpha channel from the textures is removed.
-
[Resolved][1.5.2] TileEntity container not doing anything upon right click
if you are using Eclipse, try to set the breakpoint in onBlockActivated method. And would you let us see the BlockDC class... cause i have no idea what is this block.
-
[1.6] Textures missing - how did I fuck this one up? O.o
all your textures sould be in the mcp/src/minecraft/assets/modname/blocks(items, whatever)/ so you create assets folder inside the mcp/src/minecraft/ After reobfuscating the game, you copy the assets folder from src/minecraft inside your .zip file. If you are not sure about the paths, check the Eclipse console. When game launches it tries to load all the icons. If the icon is missing it is going to display a message like this in the console: Using missing texture, unable to load: somemod:textures/blocks/someblock.png That way you can determine if you have your textures in the right place.
-
[1.5.2] Mod crashes after reobfuscation - noSuchMethod exception.
I am gonna check everything once more. I may have packed the zip* wrong or something, so it can't find forge methods anymore.
-
[1.5.2] Mod crashes after reobfuscation - noSuchMethod exception.
Now it is don via the ClientRegistry. But even if it is done another way, then mod would not work when launched in eclipse too.
-
[1.5.2] Mod crashes after reobfuscation - noSuchMethod exception.
Allright. There it goes: Crash report: main mod class: Client Proxy class: Note that the mod is working allright when launched from eclipse. Only zipped version crashes.
-
[1.5.2] Mod crashes after reobfuscation - noSuchMethod exception.
It is trying to register renderer in the ClientProxy. Should I add another @SideOnly(Side.CLIENT) annotation?
-
[1.5.2] Mod crashes after reobfuscation - noSuchMethod exception.
When launching the mod from eclipse it works just fine, but after reobf and trying to launch zip* version, it crashes. It is unable to bindCustomTileEntityRenderer. Here is the log: http://pastebin.com/JntNes0G Help required)
-
Syncing client tile entity data with server? [SOLVED]
Server and Client Tile Entities are synchronized via the Container class. check out detectAndSaveChanges(), updateProgressBar(), addCraftingToCrafters() methods in the ContainerFurnace class and make you Tile Entity update itself the same way. Otherwise your client and server Tile entities will desync after you log out from the world or unload the chunk it is in.
-
Way to get Block-Side player is pointing at ?
Is there a way to do so when onPlayerStoppedUsing() method is executed?
-
player looking at block
this is just the way to determine the direction block should face after placement. I need a way to find target block coordinates and it's sides and directions don't really matter
-
[Solved] TileEntity cast weird behaviour
I had the same desync trouble between client and server parts of the game. The container class should solve your problem: just override methods public void addCraftingToCrafters(ICrafting par1ICrafting) public void detectAndSendChanges() @SideOnly(Side.CLIENT) public void updateProgressBar(int index, int value) (you can find out what they should do in ContainerFurnace class) these methods are required for proper syncing between client and server TE
-
player looking at block
is there an easy way to get coordinates of the block player is looking at? (like the block at which target box appears)
-
[Resolved] textures not rendering properly on placed blocks?
try overriding getTextureFromSideAndMetadata() method. The one that you use (getBlockTextureFromSide) in your class determines the looks of the block in your inventory. You may just do something like this: public int getTextureFromSideAndMetadata(int side, int metadata) { return this.getBlockTextureFromSide(side); }
IPS spam blocked by CleanTalk.