Jump to content

Dijkstra

Forge Modder
  • Posts

    89
  • Joined

  • Last visited

Everything posted by Dijkstra

  1. thanks i had literally just found the getter for the game profile by following the method in Abstract Client Player class back to entity player class, and thanks for clarification of the boolean
  2. Sorry i have not got back sooner, but I have be busy with more important stuff. I used to get the skin manager instance from the Minecraft class SkinManager sm = Minecraft.getMinecraft().func_152342_ad(); so that i can call SkinCallback sc = new SkinCallback(); // my class that implements SkinAvailableCallback sm.func_152790_a(GameProfile, sc, false); but i am sure where to get the game profile class or the what to set boolean to
  3. you mean have you first block look for the other three and if the other 3 find one already place then do nothing something like that?
  4. my multiblock is made all of the same block and would not make sense to have one that if different
  5. I have a multiblock that when complete all four blocks have there own tile entity but i want them to share the same one is this possible?
  6. It worked, out dev!!!! for a second then my skin i set on minecraft.net came back does this mean that i need to run my code each tick or do i need to get to be set a bit latter?
  7. public static void load(){ AbstractClientPlayer player = Minecraft.getMinecraft().thePlayer; ResourceLocation skin = new ResourceLocation("textures/players/"+player.getDisplayName()+".png"); ObfuscationReflectionHelper.setPrivateValue(AbstractClientPlayer.class, player, skin, new String[]{"locationSkin","field_178865_e"}); } this is code i am using, clearly i am doing something but can not work it out i have passed in both the dev name and real, still works fine in dev but not out of dev
  8. Ok so done use fml method still works fine in the dev environment but now crashes out of the dev environment crash report out of dev
  9. I am making a mod that allows the user to change there skin game, it far from complete, but bubbled it down to just setting a skin me and sister to test on my server for performance and we both ended up with are skin set on minecraft.net, but in my dev environment my skin does change to the one i set the set of code i am test is events main file Think that should be all you need if need more of the mod just ask but it is getting quite large
  10. is there an event handler that triggered when a player joins the world, if so what is called and what bus do i need to wire it to.
  11. Is the way to get the address of the sever that the client is connected to
  12. I would like know if there is way built into minecraft that will allow me send images from folder on server to a folder on the client pc and from client to server or do i have to do all with java from scratch.
  13. I have put my pack in the defaultResourcePacks list and removed the line from top which gets the player name as it not use, but for lot wrong you are going have tell what is wrong as it looks fine to me.
  14. Here is my code i assume it is fine, but it will not load unless i tell it to right, i want to know how to get it load, so that would be do in an another file right, like linking up an event handlers.
  15. Thanks that help but how to wire up class
  16. Hello i would just like to note one thing, do not take it the wrong but it may be self explanatory to you but you probably used it a lot, i have not so do not know where to start. I think there one that i get which is getPackName() i am guessing that is any sting i like. but the others i have no idea where to start it would be nice if you could explain what each one does maybe an example and explain how what you put affect the outcomes.
  17. I do not know if this will help but in your forge folder there is an eclipse assuming you are using eclipse and inside that is a minecraft environment with a mods folder and you can drop mods in there, they will load when minecraft loads this should help at runtime but not in dev environment.
  18. I have been told if need save resources outside of my mod i will need to use IResourcePack so i made a new class that implements it, it added a lot of new methods but i do not know what any of them mean so if some one could tell what needs to been done with these methods so that I use resources outside of my mod that would be great. Also i would like to know how this be wired up.
  19. How can i get the folder that minecraft is running from so in single where the profile is save and on a sever the folder the sever is.
  20. At the moment I am just testing thing things are not tidy yet, and I at the time I did not really IResourcePack was i though that if that if class implemented it would let me use resources outside of the mod jar.
  21. To be able to change your skin the game in real time
  22. Are there people that will design textures for other people mods in the way writer and illustrator would on a book.
  23. Here is my code from the class in question It mainly for test as the moment until I can get it working right Edit: at moment is trigger ever render tick using event handlers.
  24. So I have Implemented IResourcePack however my textures still will not load I believe it have to do something with the methods it added but i have no idea where to start.
×
×
  • Create New...

Important Information

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