Everything posted by fr0st
-
Transferring fluids over pipes
Here I am, again! Now that my pipe renders correctly, i feel better. But what's a pipe if it doesn't transfer liquids? So basically, this is my TE class: https://gist.github.com/anonymous/7139d767f5265af00c6f As you can see, I'm able to suck liquids in by having a water block under the pipe (Just for testing). The problem is, the pipe will keep the liquid for itself and won't transfer it to nearby pipes. The thing I don't understand is, i coded the method to transfer liquids. As you can see it gets nearby pipes, increases their liquid level and decreases its one. THat's why I'm asking for help.
-
[1.6.x] Disabling a mod through a config file.
Yeah, it's that simple. Before registering all of your mod's stuff, check if the config has a boolean set to true, maybe?
-
Need help rendering custom pipe
EDIT: Noobiest error ever ever, I'm ashamed i even posted this. Sorry!
-
Access to other mods?!
Alright, but you didn't specify your version..
-
Access to other mods?!
Or you could access their config file and get IDs, but that wouldn't do much.. you still need to know what's the mod's id.
-
[1.6.4]Implement other mod items for crafting.
Ore use OreDictionary if the items you want to use are registered there. Here's a list of common Oredict used names: http://www.minecraftforge.net/wiki/Common_Oredict_names
-
Furnace with 2 input slots
First of all have a TileEntity and Container that hold all the needed slots (2 input, fuel and output). Then you should also have a custom smelting class in which you set your custom furnace's smeltings. You basically check if the input items match one of your smeltings and if they do, then smelt to output. It's relatively simple if you have some TileEntity knowledge and experience.
-
Making an umbrella appear above your head
Do you mean that if you look up in first person you'll see an umbrella like if it was on your head? That wouldn't make much sense to me, since the umbrella follows your heads movements
-
Need help rendering custom pipe
Gotta be honest with you Glenn, yesterday this gas piping system idead was born into my head. I remembered about your mod (Already knew it) and checked for updates. Yes! You had implemented those sexy pipes. So i looked at your source code and to test it out i copied it into my project. (Then deleted it obv, i dont wanna copy) It worked very nicely but i didnt like one thing: pipes seemed like they were connecting to every block when one is next to another one in a line... let me explain... Where you actually see the pipe hole, the end, its a bit too far. I don't like that it's that long and reaches the end of the block, i wanted it to be half of it... dammit i cant explain... so let me take a screenshot Also sorry for the sad biome in my screen, but it's part of the mod, and i need a gas piping system to extract gases from volcanos http://i.imgur.com/iHyJH44.png Sorry if its just a link but im busy now and i have to go as soon as possible. Oh btw i have your GasesFramework in my workspace, will use it Last thing is that i can't use Tessellator, because i woud know how to. SO thats why i abandoned the idea of using your pipe render thing and to make my own.
-
Need help rendering custom pipe
You just made me look dumb This doesnt seem easy to explain huh... or at least for me to understand. For me this is too hard, but i need it. Dammit Java is cruel.
-
Need help rendering custom pipe
I already looked up your entire mod source on github to see networking. Usually i learn more from source codes than tutorials, but this time i'd love to have my mind cleared, like... how do these work? Because i can't understand them, and i don't wanna copy. That's agaisnt myself, i won't copy. I need to understand how to make one from scratch, and i know i'm asking very much... but my mod needs it. Oh, i forgot to thank you for bothering helping me and trying to decrypt my crap english. Thanks again c:
-
Need help rendering custom pipe
Alright, so im gonna have to look at source codes then. My main problem is still the network part. I don't get how to add piping / wiring to my custom network, nor how to create it. This is some sort of black magic to me, i've been creating machines only but i've never dealt with pipes and wires.. any suggestions for this problem? I could create a wiring system by scratch but i don't know how to make them transmit data / fluids / stuff. Rendering the connections is the easiest thing, even if it's still a bit tricky to do.
-
Need help rendering custom pipe
Hi everyone. What im looking for is how to make pipes. Ok, so let's talk about this. I actually know how to make them, but there are many ways to do so and I can't find the best / don't want to. What I'm trying to do is make a gas pipe, that, obviously, will have its boundingBox and shape changed, based on adjacent connections. And it's fine. My problem is... what's the best way to do it? So, first of all i store 6 booleans in a boolean array (For each direction) and return true if one block is connected on that side. And that's the tileentity. But now, in the render class... what should I use? I can use a techne model but i couldn't choose which parts to render with renderPart(), because that's for obj files i think. And i can't model on Blender so that's excluded. Last thing i could do? Tessellator? Oh, im not good at that. So what im actually looking for is some codes, basic ones to start. I have to say that i have some kind of modding experience, but rendering is the most annoying yet rewarding thing i ever met. It's hard to explain what i actually need, i don't want to look to other mod's source, but I'd like to have some basic render codes. Something to help me. Dammit im bad at writing.
IPS spam blocked by CleanTalk.