Jump to content

crazyjackel

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by crazyjackel

  1. when i attempt to build gradlew.bat - so can have my friend test for me i get the following error: error: method references are not supported in -source 1.6 (even though i made sure my path and java home were under jdk1.8.0_91) RenderingRegistry.registerEntityRenderingHandler(mod.essence.essence.Entity.EssenceSplashEffect.class, mod.essence.essence.Renderes.RenderEssenceSplash::new) oh btw i have to go to bed, so i wont be able to respond til morning
  2. should i register crafting recipes in the preInit or init?
  3. i am very thankful for all the help you both have given me, and i really hope that you guys find at least a 20$ bill and a essence potion someone on the street also i changed my package name to mod.essence.essence
  4. hey choonstar (or someone else) can you send me the list of mcp naming conventions, just so in the future it will be easier to understand my buggy code
  5. okay i attempted changing a few things, but i cant find the issue, probably because i am a newb, but hopefully if i give you the code you can point me in the right direction. honestly, i need to find a mentor for this kind of things. http://pastebin.com/4b8H1J7b http://pastebin.com/BNEzadeu http://pastebin.com/ciqGM0Ar
  6. okay choonstar in the last post you attempt to explain how to do modelloader, trust me i got lost, but anyway this is a new post about the white box and how to fix first attempt to bind a texture: -failed public class RenderEssenceSplash extends RenderSnowball { public RenderEssenceSplash(RenderManager renderManagerIn) { super(renderManagerIn, Main.EssenceSplash, Minecraft.getMinecraft().getRenderItem()); this.bindTexture(new ResourceLocation("essence:EssenceSplash")); } } second attempt: -failrf public class RenderEssenceSplash extends RenderSnowball { public RenderEssenceSplash(RenderManager renderManagerIn) { super(renderManagerIn, Main.EssenceSplash, Minecraft.getMinecraft().getRenderItem()); } @Override public void doRender(Entity entity, double x, double y, double z, float entityYaw, float partialTicks){ this.bindTexture(new ResourceLocation("essence:EssenceSplash")); } } third attempt: -failed public class RenderEssenceSplash extends RenderSnowball { public RenderEssenceSplash(RenderManager renderManagerIn) { super(renderManagerIn, Main.EssenceSplash, Minecraft.getMinecraft().getRenderItem()); } public void doRender(){ this.bindTexture(new ResourceLocation("essence:EssenceSplash")); } } at least 15 other attempts - failed so yeah i am rendering and also attempting to bind texture, but the texture isnt being bound, dont really understand why it isnt working as the ResourceLocation worked when i was binding it for Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register i still dont understand ModelLoader and ModelBakery
  7. okay, i converted to modelloader and the textures arent being loaded, why?
  8. this mod is mostly in development for mainly me and my friends, i am not really confident in my skill to update it as such, btw i defined modelloaders in the preinit of client-my client proxy. how would i load those onto an item Item CowEssenceItem = GameRegistry.findItem("essence", "CowEssence"); ModelResourceLocation CowEssenceModel = new ModelResourceLocation("essence:CowEssence", "Inventory"); ModelLoader.setCustomModelResourceLocation(CowEssenceItem, 0, CowEssenceModel); these dont auto-attach to the item wow second page already for a 'simple fix'
  9. so move everything in the int phase to preinit except event busses okay did some research, gameregistry is not deprecated in 1.8.9 but has some deprecated commands which im not using
  10. didnt know how to get the fml log, but got everything else, probs did something wrong that is screwing the texture loading up http://pastebin.com/jYs7tPxp you know whats funny, i thought this would be a quick fix
  11. http://pastebin.com/VgqXX3WZ i believe this is what you want
  12. okay think i found the error, was registering the item after the proxy, and its rendering sorta fine, except not it shoots out a pure white block texture thing, if you need screenshots ill provide
  13. public class RenderEssenceSplash extends RenderSnowball { public RenderEssenceSplash(RenderManager renderManagerIn) { super(renderManagerIn, Main.EssenceSplash, Minecraft.getMinecraft().getRenderItem()); } } im not sure which on is the item render constructor, but can you plz quickly explain how to make it alright, come on, i almost got it
  14. choonster, hopefully this is the final time, man i really appreciate what you have done for me, without you this wouldve taken at least 2 days to get right. man i am so happy that im getting 1 step closer to doing something cool and developing this mod im working on, so just plz help me figure out what this all means one last time http://pastebin.com/vYrfQMTp
  15. sorry didnt know how i was supposed to name it, trust me i am really new, like i learnt all my basic java skills out of a modding minecraft book also a bit of it by pure research into specific areas
  16. okay i got the rendering to work, but i got an error upon testing http://pastebin.com/EJ4bJhqR the renderer doesnt seem to have any errors, neither does the main class, not sure if registering the entity in the preInitialization has anything to do with this
  17. i think i got it, let me test and if i works out i will repost my code back here so that future individuals wont be as confused as me
  18. so i should make a renderer that extends render snowball and make a method that returns the rendermanager? note: trust me, i am very new to program lingo i am currently testing using RenderArrow as it doesnt give me the same error as render snowball can someone affirm that i am moving in the correct direction by making a new class that extends rendersnowball then adding in the rendering thats like render arrow
  19. okay i ran it how it was with RenderingRegistry.registerEntityRenderingHandler(EssenceSplashEffect.class, RenderSnowball::new); which had an error that the thing couldnt figure out on the left side heres the report: http://pastebin.com/gaaG681j what i think i am supposed to do is copy RenderSnowball and just rename everything into RenderEssenceSplash my idea came from this post which basically stated that they were trying to do the same thing: http://www.minecraftforge.net/forum/index.php?topic=8064.0
  20. okay i am targetting java 1.8, and i believe i should do the RenderSnowball::new, way but when i convert my new rendersnowball() into that i get multiple errors
  21. time to read, did not find those, i think i am blind
  22. yo, i am pretty sure the experienced guys on this forum hear this alot, "oh no rendering isnt working". i myself have read at least 10 posts on that, but for some reason none of them seem to work in my situation. everything about my projectile is running smooth, except that my registerEntityRenderingHandler is deprecated, and i know i am supposed to add either a new renderer or IrenderFactory, its probably a few lines of code fix, so just help me out and move on with your day Client proxy; named just pure Client: http://pastebin.com/KN1eGBvy - note in actual code registerEntityRenderingHandler is crossed out oh btw if you want more code bits, let me know, but im pretty sure the error is just here
×
×
  • Create New...

Important Information

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