Everything posted by deadrecon98
-
[1.7.10] Key Troubles
"ModName".network.sendTo(new "Packet", "EntityPlayerMP"); Is not how you use packets. This is how you use packets.
-
[1.7.10] Key Troubles
I hope you read diesbien's reply. That code will never work on a dedicated server.
-
[1.8] Track bytes sent.
Oh god no, this sounds way more complex than is necessary. If you really do insist upon this however, see if you can track the bytes from the MInecraft application itself. (I mean use pure java instead of forge or mc to track it.)
-
HELP!!!!! Error when launching mod
The reg crash IS the updated crash. That is impossible. Either you didn't send the entire src file or you sent an outdated version That crash report specifically states that the issue is in line 45 but your code only goes to line 42. Please re-run it and re-submit your crash report.
-
sending messages through a player
What? Be clear on what you are asking.
-
[1.7.10]Freeze when using custom container without any console output
I am not going to sift through your code, send the crash report.
-
[1.7.10] How to detect whether a player is looking at a block.
Ill just send you a bit of code that I use whenever I get home.
-
[1.7.10] Key Troubles
1. Read what I just said 2. Basic java. Learn it.
-
[1.7.10] Key Troubles
new ItemStack("Armor I want"))) Why are you comparing ItemStack types! Use ItemStack.getItem() == myItem, also read the post above. Minecraft.thePlayer will not work because it is ONLY client side.
-
HELP!!!!! Error when launching mod
I need your updated crash report as well. And put it in a code block otherwise it just fills up the entire page.
-
[1.7.10] Key Troubles
1. You never inserted a null check for the Item Stack. 2. new ItemStack("Armor I want") You aren't creating a new anything.
-
HELP!!!!! Error when launching mod
I need the see your src, specifically MyItems src. Also put the crash report in code tags, it makes it easier to read.
-
[UNSOLVED 1.7.10] Mouse click/shift+click display different NBT Tag values
ItemStack itemstack; You never declared itemstack.
-
[1.8] Minecraft searches for wrong model file
Lol it's 1.8. Just accept it.
-
Game crashes
Oh god... c Block obsidianRail, diamondRail, lapisRail, iceRail, glowstoneRail, diamondNetherRail, diamondObsidianRail, brickRail, emeraldRail, netherStarRail, whiteWoolRail, orangeWoolRail, magentaWoolRail, lightblueWoolRail, yellowWoolRail, limeWoolRail, pinkWoolRail, grayWoolRail, lightgrayWoolRail, cyanWoolRail, purpleWoolRail, blueWoolRail, brownWoolRail, greenWoolRail, redWoolRail, blackWoolRail, enderPearlRail, chainRail, railsCraftingTable, armedRail, monorailDiamond, monorailGlowing, monorailGrayOrange, monorailNether, monorailObsidian, monorailRedGreen, monorailYellowBlue, monorailEmerald, monorailLapis, monorailGold, monorailPowered, monorailIce, monorailChain, monorailArmed, monorailEnderPearl; public static Block triplerailWhite, triplerailOrange, triplerailMagenta, triplerailLightblue, triplerailYellow, triplerailLime, triplerailPink, triplerailGray, triplerailLightgray, triplerailCyan, triplerailPurple, triplerailBlue, triplerailBrown, triplerailGreen, triplerailRed, triplerailBlack; public static Block triplerailDiamond, triplerailGlowing, triplerailGrayOrange, triplerailNether, triplerailObsidian, triplerailRedGreen, triplerailYellowBlue, triplerailEmerald, triplerailLapis, triplerailPowered, triplerailIce, triplerailChain, triplerailArmed, triplerailEnderPearl; public static Item minecartWhite, minecartOrange, minecartMagenta, minecartLightblue, minecartYellow, minecartLime, minecartPink, minecartGray, minecartLightgray, minecartCyan, minecartPurple, minecartBlue, minecartBrown, minecartGreen, minecartRed, minecartBlack; public static Item emeraldBar, diamondBar, obsidi Ok listen up. Client is ONLY for rendering, Keybinds, etc... Things that ONLY relate to the client. The Server is what performs all of the calculations, players inventory, dispensers shooting arrows, etc... One more thing. Never, EVER declare fields like this in a proxy unless they only belong in that proxy. The code above needs to go into it's own class, or possible your mods main class so that they can be called from there. And just so you know public static CommonProxy proxy; That isn't CLIENT proxy, that's server proxy. It would be much more help if you attempted to fix what I just said and then post the new code. EDIT: Also, what? Why is this public static final String modid = "ExpandedRailsMod" inside of your client proxy? This should be in your mod folder! Oh god no.
-
[1.7.10] [Solved] Localizing a Custom String?
I'm honestly not sure that this is possible. Try setting it to something like lang.text and go into the lang file and add in lang.text=Text. That might work but I am just telling you this off of the top of my head.
-
[1.7.10] [SOLVED] Custom Crafting Manager
Make ABSOLUTELY sure that the client knows the crafting recipe is valid. Otherwise you're just turning a blind eye to it.
-
Custom bone item
Any time, just let me know if you need help.
-
Custom bone item
You could also set up an entity interact event for it.
-
[SOLVED][1.7.10]Item damage bugs?
Yeah, every other event in that class works fine. I have tried elevating that one to a higher priority and even making it static but nothing is fixing it. I have no idea what's going on here. Is it wrong that I registered it like: MinecraftForge.EVENT_BUS.register(new EventManager());?
-
[SOLVED][1.7.10]Item damage bugs?
This is odd. I assume that I would be using ItemCraftedEvent but it isn't being triggered. Is there something I am doing wrong? To save you time here is the class it is in.
-
[SOLVED][1.7.10]Item damage bugs?
So should I move it all to the forge event of onCreated?
-
[SOLVED][1.7.10]Item damage bugs?
Ok, so now that I have that part fixed could you help me out as to why everything is doubled when I hold shift to get the recipe? It acts like it is run twice but the output is still the same.
-
[SOLVED][1.7.10]Item damage bugs?
Wow, that doesn't make any sense whatsoever. Do you think you could help me out on this then? If you look at the item code you will notice that I already have this set up but I am using VERY improperly. If you could give me a few pointers that would help a ton.
-
[SOLVED][1.7.10]Item damage bugs?
And that is exactly why it's there. Some of my crafting recipes already have a tag, hence it even being there.
IPS spam blocked by CleanTalk.