-
Posts
751 -
Joined
-
Last visited
Everything posted by ObsequiousNewt
-
Don't worry, Mew, we all do.
-
After the constructor, but before onUpdate(). And probably before all the other functions too. Which is why I still say it would be useful to put those args in the block constructor.
-
[EDIT]Making an Instance of Entity Drop an item.
ObsequiousNewt replied to AndrewSherman's topic in Modder Support
But I can't think of a way to easily link that to the breaking of a specific block, besides making a seperate entity. -
I've noticed that. By default you don't even get the metadata... you have to find and override a specific function. It seems a shortcoming of Forge. To the Suggestions board!
-
I have been known to give people complicated solutions when simple ones are there. Derp. Try BlockDiamond.getLocalizedName()?
-
I can't get Forge to work in minecraft
ObsequiousNewt replied to Soereos's topic in Support & Bug Reports
Convenient link of convenience! -
Instead of "whatever" you put... either the first or the second, I can't remember.
-
Speaking as one of the aforementioned scumbags, I would like to say that if you want help, you're going to have to trust those people that you're asking. If you want to deal with the Internet at all, YOU'LL HAVE TO TALK TO COMPLETE STRANGERS. I'm not trying to argue that my code is superior; I'm just saying that other developers' code, as a general rule, looks wrong. This does not only apply to me. You'd probably hate the way I wrote my code. I do not have the time, patience, or dishonor to try to steal anyone's code. Perhaps there are some who do. They can download your mod and distribute it as theirs. They can use decompilers, like you say. But you'll have to take that risk, unless your mod is intended for your eyes only. By sealing us out from your code, you have sealed yourself in. You're trying to say, "Help me with this circuit board. Only I won't let you touch it, or even see it. I'll show you pictures of certain parts if you like." If that gets you help, it'll take umpteen times as long as if you let me glance at your jar and say, "This folder is in the wrong place." Oh, and you think I'm likely a "scumbag" because I'm trying to make a point? Let me give you a lesson, henceforth to be known as the First Law of Flame: The worst way to get someone on the Internet to agree with you is to argue with them. The only reason why I'm bothering right now? Honor, if it means anything to you, and because I'm annoyed with near-hypocrites, and additionally because I'm feeling in an argumentative mood right now. Oh, and because of the Second Law of Flame: To leave an argument on the Internet is to admit defeat. We live in a sad world, where intellectual property is such a huge issue. As an open-source coder, I believe in credit where it's due, I believe in sharing, and I believe in the potential of others to act the same way. This is a philosophy shared by many. Look at what is perhaps the second most popular open-source licence, the CC-BY-SA. It says in the title that you must attribute your code to where you got it. I don't like the fact that Minecraft is closed-source, but that's something you have to deal with. I can deal with the fact that it costs, what, 30 dollars now? Because it's a great game, and I think that Mojang deserves to be rewarded for their work. For me, credit is all I desire, and I believe that you deserve it too. I came here because I wanted to help make Minecraft better, and because it was a game I liked to play. (I don't play much any more.) And I do have to put up with a lot here. I commend you, for being able to speak grammatical English. That's one of the most annoying things here. (Not that it's necessarily their fault.) But I will help you as much as I would help anyone... and if you refuse my help because you're paranoid, then there's nothing I can do about that. If you would like to check your mod jar against mine, you can find it here, and my Github is here—but be warned that that is the *last* energy I will expend on your problem.
-
Alternatively, if it's just swords, you might want to build a seperate model and switch textures. That might be easier.
-
Entity classes contain information about the entity (position, health, additional data.) Render classes have to do with how that entity is rendered. The function in question has to do with rendering of the health bar.
-
You're supposed to be calling func_82824_a(myEntityCustomZombie,blah); from your Render class.
-
It's a matter of special rendering code in either case. You'll need to play around with glScale() and glRotate() and glTranslate() until you find values that fit.
-
i made a skull but i have a little problem
ObsequiousNewt replied to yazeed44's topic in Modder Support
You... want the resolution to be higher? -
It looks like the size of your inventory is 37, but you're calling transferStackInSlot() with a len of 39. Change it to 38, or, better yet, use inventorySlots.size().
-
List<ItemStack> itemstacks = FuelAtomicSeparatorRecipes.smelting().getSmeltingResult(this.furnaceItemStacks[0]); for(ItemStack i:itemstacks){ if (i == null) return false; if (this.furnaceItemStacks[2] == null) return true; if (!this.furnaceItemStacks[2].isItemEqual(i)) return false; int result = furnaceItemStacks[2].stackSize + i.stackSize; return (result <= getInventoryStackLimit() && result <= i.getMaxStackSize()); }
-
Server crashes after updating mods/forge
ObsequiousNewt replied to Jan102's topic in Support & Bug Reports
Create a new world, then. -
Sorry, I have an entity positioning glitch myself. I'm afraid can't figure out your problem, either.
-
par12 == 1 || par12 ==2 || par12 == 3... This is a fundamental basic understanding of programming. The fact that you had to ask this question means you're not actually ready to mod Minecraft. Another of the many shortcomings of Java. With Python, you can do if par12 in (1,2,3,4,12,13): #stuff
-
He said "discharge"... not that I can understand what he means anyway...
-
I just added them, but am I mistaken to think the NBT stuff is for storing and loading the tile entity's inventory? We're only dealing with player inventory here; the tile entity doesn't have an inventory (well, now it might, with the NBT stuff added). New code here, though the problem is unaffected: -snip- *impersonates Dirk Gently* "I believe in the fundamental interconnectedness of all things." ...Actually, I'm just trying various things and hoping something works. I can't find anything wrong. Hahaha alright then. Well, at least I know it is most likely that my logic isn't flawed, and the issue probably has something more to do with Minecraft or Forge. I really do appreciate you at least taking a look. A bit more info that has come to light: it seems that when I click an item in the inventory, the item that gets picked up is the one from the slot above it. I've run the process in a verbose manner, echoing the id's of the slots, and they seem to be placed in the correct order, but maybe this symptom of the problem tells of something you might know more about than a new modder does? To be quite frank, I think it's more likely that you have a small typo somewhere; after all, I have a TE that works just fine. Maybe I can try doing an exhaustive compare... if I find the time.
-
not really updated So someone needs to bug Overmind to update it. I did. Let me rephrase. Someone in a position of power needs to bug Overmind to update it. Or perhaps we could start a petition?
-
[Solved] Override Default Blocks?
ObsequiousNewt replied to ModderWizardDude's topic in Modder Support
I remember that too. In fact, I think that was one of the suggested solutions... And yes, you can.