Everything posted by godbaba
-
Offline NBT?
Yea I had a look into the wiki... I do it all the time but there is no information on this on the wiki or I missed
-
Offline NBT?
Hello guys I am trying to change nbt of a player who is offline on a server Are there any way to do this ?
-
Block or Item ?
Hey guys , I have a ItemStack for example i want to know if the itemstack contains a block or item. Can anyone help ?
-
GuiScreen with a button doesn't get the button texture?
you need to create your own class Check the buttons in the Book and Quil
-
Adding Slot to Inventory
Thanks dude i got it... Be a little helpful to people... If you need money go to work
-
Adding Slot to Inventory
Okey then how can i make a item that opens a container... There is no need it to save just open it ? Can you give me a full code ?
-
Adding Slot to Inventory
The question is simple how can i add another slot to the vanilla inventory ?
-
Items and Containers ?
Im not talking about the nbts etc im talking about the full setup containers , iinventories , nbts , guis , gui handlers
-
Items and Containers ?
Hey guys I have no idea how to implement containers to the items anybody that can show me where to start ? at least an example code i dont know such as bags etc ?
-
Schematics
With some code updating i made it work that you dude
-
Schematics
So what do you mean by building blocks ? Is it a mod or what ?
-
Schematics
Hey guys Im working on a mod and we have very big buildings so when we attempt to use world.setBlock we get 27k lines of code for a building... So we are looking for a way to build the buildings from schematics (schematics from mcedit) Please help me At least show me where to look for this system...
-
Wondering about potions
Im using this code to add my custom icons... inventory.png is an edited version of original inventory... @Override public int getStatusIconIndex() { Minecraft.getMinecraft().renderEngine.bindTexture("mytextures/gui/inventory.png"); return super.getStatusIconIndex(); } And to select from these icons you use .setIconIndex(2, 0); .setIconIndex(1, 3); etc...
-
Render 3D Armor (ModelArmor) from techne
Yes it is possible...but dont know how...there is mods doing it...
-
Set On Ladder
Im adding a flight item into game but i dont want to use player.capabilities so i started to write it from scratch but to make player fly like all other mods i need to set player on ladder but there is no code such as player.setOnLadder(); How can i set the player on ladder ?
-
Wondering about potions
package mod.sylph3ed.poisonsplus; import net.minecraft.potion.Potion; public class PotionPoisonsPlus extends Potion { public PotionPoisonsPlus(int par1, boolean par2, int par3) { super(par1, par2, par3); // TODO Auto-generated constructor stub } // Set the icon public Potion setIconIndex(int par1, int par2) { super.setIconIndex(par1, par2); return this; } } all you need is this code... then you should add this into your main file public static Potion potionofmymod = new PotionPoisonPlus(an id over 25).setUnlocalizedName("potionofmymod"); To add your potion to an entity player.addPotionEffect(new PotionEffect(mainmodfile.potionofmymod.potionID,200,0))
-
Biome Grass Color?
Thanks You Mate ! This simple code helped alot
-
[SOLVED] Adding Items to Chests
Thank you! I checked the tutorial it really helped thats mate Thank you too mate ! I solved my problem
-
[SOLVED] Adding Items to Chests
Hello guys I want to add items to chests I know the coordinates of chests and I want to add some items in them Any code would help thanks
-
Biome Grass Color?
Hello guys for my mod Im creating my own biome I want to have different grass color and water color I found how to set water color but I cant figure out how to set grass color ? this.waterColorMultiplier = 0xC42766; If someone can help I will be happy
-
Container: Function to check if Item is a specified Item
I dont care what slots do you have slots which I cannot get working If you post your code Im sure it will be helpful for me :D
-
Container: Function to check if Item is a specified Item
I dont need something selective Your code will help me but If you dont want to share no problem mate
-
Container: Function to check if Item is a specified Item
hey can I get all of your container codes I need some examples to figure out how containers work If you help me , I will be very happy ...
-
BlockContainer
I looked all of the game classes about containers but they are very complicated for a started so Im looking for small tutorials
-
BlockContainer
Im trying to get into making machines etc but first I need to learn basic I dont know such as making 1 slot chest or furnace...Whatever the easiest I want to learn the basics so I can create my own machines,chests or other crap
IPS spam blocked by CleanTalk.