Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mew

Members
  • Joined

  • Last visited

Everything posted by Mew

  1. And what do you know it worked Now I just have to figure out why it is disabled
  2. Ill agree to that Unless it is out of battery and that's why it stops working
  3. I am thinking you would want to override the interact method of the horse then. Use a core mod. Don't ask ME how to do this particular thing, but you will have to use ASM via a coremod
  4. I am using eclipse. I will try it again with my rebuilt workspace. Thanks for the Idea
  5. I already tried that It still gave the error. And the error was underneath the p in "package mew.core;"
  6. speaking of ASM, I keep getting this error to do with something like com.google.event.EventBus or something and how it does not exist. This error gets thrown on my CoreMod's dmmycontainer. But it only gets that error when I extend DummyModContainer... Any ideas why?
  7. I am glad you know what your doing with this. I completely forgot about server/client in this
  8. Now it makes sense. So I am assuming that the threads are run BY the player? If so, then take make an instance of entity player that equals null say inside your main class. Then, when the thread is activated by that player, MainModClass.playerInstance = playerInstanceThatActivatedThread; Does that make sense? Then using that code above: MainMod: EntityPlayer threadPlayer = null; Wherever thread is activated: // Thread is activated blah blah blah... MainMod.threadPlayer = player; IPlayerTracker: @Override public void onPlayerLogout(EntityPlayer player) { if(side==Side.CLIENT && player.equals(MainMod.threadPlayer)){ //cleanup } } I hope this doesn't get miscommunicated
  9. Thanks for that tidbit. I know this will come in handy at some point...
  10. I would be annoyed as fuck if I had to download an installer that does nothing but put a zip file in a folder. If people can't do that themselves, don't let them play modded minecraft. You don't need an installer for everything. My opinion. Agreed. But if you had something like Pixelmon, but say with about 10 databases (I don't see this happening anytime soon) that need to be in specific locations, then maybe make an installer. But aside from that I agree with diesieben.
  11. Not what I meant. This is just one bunch of miscommunications... What I should probably ask first is, what is it that you are trying to "clear"?
  12. Yes, yes it does Lets say you have all the data for a player stored within their own folder player named folder inside the worldFolder/players folder. Then ON THE SERVER use the same stuff you were doing before. You will also need a file that represents the folder/data within the folder. But before you do that call, you would need to have an if statement. something like: if (file.exists()) { // do cleanup }
  13. But is that 1.5.2? I don't think so. The OP was asking about this in relation to 1.5.2, but yes this is still relevant when it comes to moving to 1.6.*.
  14. I want you to think about this for a second. If I am running a mod, and you join my lan world, do you have that mod I am running? And if it is on a server, there isn't going to be one person running the mod is there. So basically what you want is an instance of EntityPlayer. Minecraft.getMinecraft().thePlayer will do for now. (Though it will not work as a server mod if you use that). To get the player who is using the mod or, say is right clicking with an item from the mod (aka, a function) you would type Minecraft.getMinecraft().thePlayer.username and that would be the players username?
  15. And once again people aren't reading what I have said correctly... What I was referring to was .setUnlocalizedName(). Before proven otherwise I thought it to be pointing to the Vanilla texture path. That is what I was meaning. And as a side note, VERY NICE mod. Good ole' trains. Awesome Don't bother waiting for a recommended build of 1.6.1, there will NEVER be one. There is a recommended build for minecraft 1.6.2 though
  16. So basically the player that is activating a certain function? Ok, easy. playerInstance.username; Simple as that Simple questions have simple answers, and I honestly don't feel like raging at you for not looking hard enough...
  17. I hope it works for you in 1.6.*. Because if it doesn't, your screwed. And I am glad it works. I know that they said that it points there, but I also did say TO MY KNOWLEDGE, basically according to what I knew it pointed to the vanilla textures, not ones in a mod file. Now I have been proven wrong it seems I can update my knowledge
  18. Have you tested that and had it work? Because to my knowledge that is the reference to the VANILLA textures folder.
  19. Unless you declare your Item classes like this: pacakge mypackage.item; import net.minecraft.item.Item; public class MyItemClasses { public static class ItemMyFirstItem extends Item { public ItemMyFirstItem(int par1) { super(par1); } }; public static class ItemMySecondItem extends Item { public ItemMySecondItem(int par1) { super(par1); } }; // etc., etc., etc.. } Then it's your all your items in one file technically
  20. *face palms* by playerInstance I mean the instance of EntityPlayer that you have. Do you not know how examples work on these forums? If you don't, then heres a little tid bit for you. if someone has somethingInstance, it means the instance of whatever your wanting that you are talking about. So in this case its playerInstance and whatever it is called that is your instance of EntityPlayer.
  21. Horse? Feh. I've got FLY-able Hoverboards, a Dragon, and a Cephadrome! We don't need no stinking ground-bound horses! Lol! We be airborne, baby! Thanks anyway! Sounds epic dude! Anyway I asked if you had tried horses because you would most likely be able to find all the stuff relevant to what you need. And mounting an entity has nothing to do whether it is flying or not
  22. Hmm... Let me think of an entity that is mountable, rideable, and is in Vanilla. I know! A horse! Have you tried the horse entity file? If no I'd give it a good go
  23. String playerName = playerInstance.username; There is your string for the players username.
  24. That's not what I mean. I wanted to get the player name and use it like this: CyphScape.PLAYERNAME.LevelSave So what you are wanting is the saved game for that player?
  25. I have this class for my core mod here: And the bolded letter p is underlined and has this error: "The type com.google.common.eventbus.EventBus cannot be resolved. It is indirectly referenced from required .class files"

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.