Posted May 31, 201312 yr How would I make my own commands and run ones in the minecraft code normally?
June 2, 201312 yr 1) No one understands what you're asking about 2) Don't bump your post when it's still as new as it is. The forums are highly inactive right now because the site keeps going down. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 3, 201312 yr Author I mean make my mod run commands like /kick or /time set day from in its code.
June 4, 201312 yr Start by looking at net.minecraft.command.CommandBase Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 5, 201312 yr Author I have read all the stuff in the net.minecraft.commands for days before posting unlike some people here I try before using the forums.
June 5, 201312 yr unlike some people here I try before using the forums. Good. It just isn't always apparent that any given poster has. Especially when the opening post is as short and as confusingly written* as it is. That said, I have no idea how to do what you're trying to do. I simply looked at the decompiled source code for a mod that does and tried to figure out how it worked (but as its not deobfuscated, references to vanilla classes is shaky at best). All I can tell is that he extended that base class. :\ *My guess is that English is not your native language. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 5, 201312 yr Author It is my native but I misted this went the site was eroding every thing till it worked.
June 5, 201312 yr Maybe the source of SingleplayerCommands would be a good reference for you: https://github.com/simo415/spc PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
June 5, 201312 yr It is my native but I misted this went the site was eroding every thing till it worked. *cough* 1) "Missed" 2) "When" 3) I am not sure what this means Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 5, 201312 yr It is my native but I misted this went the site was eroding every thing till it worked. *cough* 1) "Missed" 2) "When" 3) I am not sure what this means Eroding? To erode means to weather away. It's usually used to refer to geological processes that affect dirt and stone. Hmm... I see mod potential. "DustBowl! For all your soil erosion needs!" BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 6, 201312 yr Eroding? To erode means to weather away. It's usually used to refer to geological processes that affect dirt and stone. Hmm... I see mod potential. "DustBowl! For all your soil erosion needs!" The word I understand, it's the phrasing that was used. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 6, 201312 yr Eroding? To erode means to weather away. It's usually used to refer to geological processes that affect dirt and stone. Hmm... I see mod potential. "DustBowl! For all your soil erosion needs!" The word I understand, it's the phrasing that was used. I understand that; I was being sardonic. I suspect he didn't mean "erode", but I can't think of what else would fit either. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
June 6, 201312 yr Regarding the problem Chibill, as always, you should first of all look at Vanilla Minecraft code of blocks, items etc. which do the thing you want to achieve already. For your purpose I recommend you taking a look at the command block's TileEntity. It is found in net.minecraft.tileentity.TileEntityCommandBlock and you should take a look especially at the executeCommandOnPowered() method.
June 6, 201312 yr Author I looked there first but I think I can fined the code in the mod some one said above.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.