-
[1.6.1]Mod updating problems
Ok, there you have the Thank you Theoretically yes, but I am now recreating some functions and classes to improve the api and make it better and more usable.
-
[1.6.1]Mod updating problems
Yes, thanks. It is working now!
-
[1.6.1]Mod updating problems
Can I use this in both situations ? The .bindTexture and .bindTextureByName ?
-
[1.6.1]Mod updating problems
Hello, I updated my mod and I am getting tons of errors... I tried to solve them with some tutorials about updating... So there are. I am getting error with .bindTexture and .bindTextureByName. I know they renamed/removed this functions, but I need something to load textures of my custom GUIs and custom Renderers. Thanks for ANY help ! mar21
-
[Unsolved]Custom modeled block doesn't show up in inventory
So bindTextureByName("/textures/blocks/FryerTexture.png"); In this code you need to place your model texture into the minecraft.jar/textures/block So, you need this, If you want to have your texture in diff location: bindTextureByName("mods/YOURMODID/textures/blocks/FryerTexture.png"); And your modid is Mod´s modid, defined in main class of mod. This will allow you to place the texture into the minecraft.jar/mods/YOURMODID/textures/block Try, and write back! Good luck with your mod
-
[Unsolved]Custom modeled block doesn't show up in inventory
Try this: this.bindTexture("/textures/blocks/FryerTexture.png");
- TileEntity/Block problem
-
TileEntity/Block problem
Yes, I will try this, thanks... I rewrited some functions, and I hope it will work as I need //EDIT E, what tileEntity did you mean ? the power interface or machine ? ///EDIT More explanation: If I set the Energy to 100 in the TE_PowerInterface it works, but I cant do any operations with it: It means: transfering and receiving energy... If I try to set the block energy when is placed ( .setEnergy(100) ) it dont work ...
-
TileEntity/Block problem
Yes, thanks ... I created the sending/receiving function, but on the paper momentally Thanks for the help. I write If this will working... //EDIT So, it doesnt work, now it doesnt do nothing. .. Any things on memory ?
-
[INSANE]TileEntities/Rendering/NBT problems
I dont, know, I am using this code for my custom model of my custom furnace, so I using the basic furnace metadata with side, where you placed, based on player looking. It work for me pretty well. You need the rotating thing in the YourBlock class...
-
[SOLVED]Custom flowers - How to only be placed on custom blocks?
Try replace this: public boolean canThisPlantGrowOnThisBlockID(int par1) { return par1 == MoreDimensions.slimeGrass.blockID || par1 == MoreDimensions.slimeDirt.blockID; } With this: @Override public boolean canThisPlantGrowOnThisBlockID(int par1) { return par1 == MoreDimensions.slimeGrass.blockID; } And try place the flower on the slimeGrass if it dont work try: @Override protected boolean canThisPlantGrowOnThisBlockID(int par1) { return par1 == MoreDimensions.slimeGrass.blockID; }
-
TileEntity/Block problem
So, hello ... I created a Machine (Furnace based) and It require the Power Interface block at bottom. It will only work if there is (more) 100 points of energy. I created a onBlockAdded in the InterfaceBlock but it not set the values of energyconsume and current energy. Classes are there too : Interface Class Tile Entity of Interface: Things in the Machine class: (dont needed all thing in, it is lots(a lots of lots) lines ) TileEntity of Machine (I removed things that are unused in this problem)
-
[SOLVED]Custom flowers - How to only be placed on custom blocks?
Heh, this is the right question Try in the FlowerClass: public TileEntity createNewTileEntity(World par1World) { return new TE_CustomFlower(); } And create the TE_CustomFlower class. Like this: package yourpackage; //make there all required imports (Shift+Ctrl+O) public class TE_CustomFlower extends TileEntity{ //YOUR STUFF } I hope
-
[SOLVED]Custom flowers - How to only be placed on custom blocks?
I think you can create for plant the tile entity, and the renderer is from default game I think for roses/dandelions/etc
-
[INSANE]TileEntities/Rendering/NBT problems
E, yes! TileEntityRenderer.instance.renderTileEntityAt(new TileEntityTrafficLight(), 0.0D, 0.0D, 0.0D, 0.0F); this is doing me error too!
IPS spam blocked by CleanTalk.