Everything posted by fhntv24
-
Ideas for Fluid Coding
extend to where?
-
Trouble with adding chat message on interact
heh,you didnt say what you have worldObj at you class,so i made it with player world
-
Item Mouse Actions
@ForgeSubscribe public void playerInteractEvent(PlayerInteractEvent evt) it might help to you.
-
NBT stacktagcompound
heh then just send drop box link to me in PM.I have steam,but dont give it to anyone
-
NBT stacktagcompound
i was crying at all you code if you want to rewrite all you code,then plz send it to me on skype,my skype is fhntv24.Beacos that will be a lot faster =) and i can teach you for somting,and i have very goon online so i can teach you amost all times __________________________ -Good fhntv24,that want to help noobs,beacos he was noob,and know,how is that,be a noob
-
Trouble with adding chat message on interact
its sends message twice,beacos you need to check server side and client side.....message to player sending from both of them,so you need to check is it server or no.How to do it? if (!mc.thePlayer.worldObj.isRemote) { //client side } else { //server side } if you want,you can add that simple message "moo" at client side,but if you want to make it "Moo my age is"+bla bla,then you need to make it server side,beacos that is better p.s. if you want,you can send message on client for first comment,that will work
-
NBT stacktagcompound
so now all ok with it? p.s. i can rewrite all you code,but if that what you have works,i will not
-
Ideas for Fluid Coding
why not make full block no source block,like water,when it flows down its splits to 4 sides.What you need to do the same.Or when water flow down,its creating fool block and its flows like not source block =)
-
NBT stacktagcompound
try to change setShort&getShort to setInt&getInt OR OR OR OR change type of dmg to short,but idk will that help or no edit: that will help
-
[SOLVED] Help with a custom macerator-like tile entity machine
code file: https://github.com/myoKun345/ElementalExperimentation/blob/master/elex_common/elex/tileentity/TileEntityGrinder.java line: 122 if (GrinderRecipe.canBeDone(getStackInSlot(0)) && this.grinding == false) { recipe = GrinderRecipe.grinderRecipes.get(getStackInSlot(0).getUnlocalizedName()); this.grinderGrindTime = recipe.time; this.grinding = true; } try change to if (GrinderRecipe.canBeDone(getStackInSlot(0)) && this.grinding == false) { recipe = GrinderRecipe.grinderRecipes.get(getStackInSlot(0).getUnlocalizedName()); this.grinderGrindTime = recipe.time; this.grinding = true; } else if (this.grinding == false) return; edit: p.s. if that will not work,somting wrong in you RecipeGrinder
-
fontRender a litle bit stange....
ok,now it work's a loooot better.if (event.type.equals(event.type.TEXT)) <- that is asome check
-
fontRender a litle bit stange....
now question:how do i need to unbind it......glBindTexture(2D,0) dont work.....
-
fontRender a litle bit stange....
ty,LexManos.
-
fontRender a litle bit stange....
just wath screenshot's. code: Client side proxy: MinecraftForge.EVENT_BUS.register(new GUI()); GUI: public class GUI extends Gui { public GUI() { super(); } @ForgeSubscribe(priority = EventPriority.LOWEST) public void draw(RenderGameOverlayEvent event) { if (FMLClientHandler.instance().getClient().inGameHasFocus) { Minecraft.getMinecraft().fontRenderer.drawString("some text", 5, 45, 0xffffffff); } } } pictures: http://prntscr.com/192wv1
-
how to open gui on ClientSide
I have just gui,simple gui without block/container.How i can open it?and i need to open it on client side only. p.s. player.OpenGui(bla bla) dont work for me......It's just dont open GUI. edit: ups,forgot to register KeyBind handler....sorry for opening new topic!
-
Vanilla inventory/crafting GUI tweaking
p.s. if you need code of vanilla inventory,it's in net.minecraft.client.gui!
-
Vanilla inventory/crafting GUI tweaking
http://www.minecraftforge.net/wiki/tutorials <- here you can find evrething what you need.that is GUI and bla bla.Make GUI,and make you Keybind handler,and when X button pressed,open gui.If you dont know how to make Keybind handler,there is EE3 source's.I will send link if you want.
-
When MC save world?
@ServerStopped <-........
-
When MC save world?
how i can call function when world save's? i need to save somting,and *i think* i can do that only there.If you have any other ideas,how i can save somting when MC stop's,plz post it here.
-
Vanilla inventory/crafting GUI tweaking
just make you own GUI,and bing opening of it to vanilla MC button.Backround of it is placed in Minecraft.jar/GUI.You can edit it,i think. p.s. all GUI's is in net.minecraft.client.gui
-
NBT help
send packet? make PacketHandler and PacketTypeHandler.If you dont know how to make them,then go to EE GitHub and take them from it
-
[SOLVED] Removing Vanilla Spawns
coremod mod,or array = null...... p.s. i dont think what array=null will work,but you can try! edit: and in both way's,you need coremod mod......
-
Real time button list changing?
i dont need to deny acces,i need to send boolean varible to client,to draw a litle bit diffrent gui.....really,a litle bit.Just one diffrent button,and i dont want to create new gui for that.
-
Real time button list changing?
alredy did,and what,send packet there?
-
Real time button list changing?
heh then can you help me with last quastin:can i send info to client when it opening gui?! like is client owner of this block or no.Like IC2 does with Trade O mat.
IPS spam blocked by CleanTalk.