Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. Because it’s 3+ years old, it’s been outdated for 4 versions, it’s not receiving updates/patches and people just don’t know how to fix problems for it anymore. What’s so special about 1.8.9 anyway? I can slightly understand staying in 1.7 because of 1.8s massive changes to absolutely everything, but nothing changed even slightly irreparably in 1.8.9->1.9
  2. Please post your entire debug log as described in my signature. Please use GitHub gist
  3. 1) Don’t do this, use the latest version 2) DONT DO THIS USE THE LATEST VERSION 3) If your still thinking of doing this, don’t. Use the latest version 4) Find something else to do 5) Download the Forge 1.6.4 “src” file from the forge files website and follow the instructions in the readme. Please not that you will receive no support for any problems you have attempting to do this.
  4. Post your new logs please, are you sure your drawing your texture with the correct size at the correct coordinates?
  5. this is a bit different, but you could also just have a specific texture in the model that you can retexture. You can retexture your model with Model#retexture(textureName, newTextureResourceLocation). You should really be defining everything in JSON so that Data Packs and Resource Packs can modify stuff.
  6. Please post your solution, edit your original post in this topic & in the edit menu add “[SOLVED]” to the title
  7. Are you using version control?
  8. Is it ever created? Use the debugger
  9. Also what if two players break different blocks at the same time? >BreakspeedEvent1 >BreakspeedEvent2 >HarvestEvent1 >HarvestEvent2
  10. What are you trying to achieve? What have you tried? What is going wrong?
  11. Why RenderTick & not RenderWorldLast? he's rendering blocks into the world, I thought it would be better to run it along with the other world rendering
  12. You should be able to subscribe to the RenderWorldLast event translate (and scale?) to world coordinates & then just call BlockRenderDispatcher#renderBlock. Don't forget to translate (and scale?) back to 0, 0, 0! Take a look at https://github.com/Cadiboo/WIPTechAlpha/blob/c179d852e43f08d6e9f34db62bd2a59c36475e6b/src/main/java/cadiboo/wiptech/client/ClientEventSubscriber.java#L509-L579 but don't just do what I did. I directly drew the cube with buffer Builder. you should use BlockRenderDispatcher#renderBlock
  13. I was putting my variables in in the wrong order... The correct order is lightmap(skyLight, blockLight). I still don't know how to get the proper variables though, currently I'm doing this which is very inefficient Heres my final code. https://github.com/Cadiboo/MinecraftForge/blob/4d26e2a8b4edb41d572504b40b411f1ff6b7591f/src/test/java/net/minecraftforge/debug/client/rendering/RebuildChunkBlocksEventTest.java I'm going to work on understanding & optimising it now because I basically just copy-pasted the old code & only changed what I had to to make it work. Screenshots:
  14. I've got everything working perfectly except for the lightmap, I don't know how to get those variables or do smooth/flat rendering with them. Any suggestions would be appreciated! As you can see in both images the lighting is the same for every block.
  15. You might not actually need to render everything yourself, if there’s a playerRenderEvent.Pre you could probably just enable blend & do a blend function. Then disable blend again once everything is done rendering
  16. Cadiboo

    Stairs?

    They also don’t make logical sense & are an anti pattern proxies are places for dedicated code. So your common proxy holds code that is only run everywhere? ?
  17. Make a util method in another class and pass in your arguments. Also unless your actually talking about a cat, you might want to make the name of the variable myCat less ambiguous
  18. I think entity has the method move(x,y,z, MoverType) https://github.com/Cadiboo/WIPTechAlpha/blob/c179d852e43f08d6e9f34db62bd2a59c36475e6b/src/main/java/cadiboo/wiptech/entity/item/EntityPortableGenerator.java#L85
  19. I realise, You said that So I said BlockBench is a JSON model creator that is very easy to use and can do quite a lot. If you're sticking with OBJ/FBX then do what VoidWalker said. My bad, sorry
  20. Heres my PR if anyone's interested https://github.com/MinecraftForge/MinecraftForge/pull/5166 And here's my repository where I will be implementing MarchingCubes https://github.com/Cadiboo/MinecraftForge/tree/RenderHooksMarchingCubes Here are a couple screenshots of whats possible with my hooks (there are more on the PR)
  21. I've loaded my own (JSON) models and used them for an entity (with position & motion based animation) here If your adding (JSON) models without a block or item attached to them it's my experience that you need to add their textures to the texture atlas
×
×
  • Create New...

Important Information

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