Mambo_Dancer
-
Posts
20 -
Joined
-
Last visited
Posts posted by Mambo_Dancer
-
-
17 minutes ago, Matryoshika said:
so it worked, particularry, it doesnt want to rotate, and i have annoying name hovering above block when u lookng on block (container.infusionaltar) tried to look where it is called but my mission failed)
i do not know about forge modding so much stuff, could you recommend me some stuff where i can learn more about? thanks for help btw -
9 minutes ago, Matryoshika said:
so changed all, but renderBody is missing (changed to entityItem - my infusionthing ) but doesnt want to work. Im missing smthng,yes? (in my mind and skill lel)
-
39 minutes ago, Matryoshika said:
well, can you post your current code/update your github? Can't help if I don't know what you have & what you have done.
done
-
Im using GlStateManager in TESR and it is ERRORs with exception
########## GL ERROR ##########
@post render 1284: Stack underflow
https://github.com/MamboDancer/minecraftmod/tree/master/src/main/java/ua/mambodancer/theterrifyingbeats/blocks/tileentities - link to problem code (TESRAltar)
help((
-
54 minutes ago, Matryoshika said:
You are rendering your item outside the pushed matrix. Move it to be rendered inside of it.
TESR's are also singletons. There is only one TESR that does the work for rendering every single tile-entity that it is bound to. If there are several loaded at the same time, then you need to compensate the rotation, either by using a variable from the TE itself, or any other "outside" data, otherwise it'll speed up by +1x times for each tile.
I would also recommend that you start to undo whatever you rendered after you are done. "Artifacts" are a type of behaviour when rendering isn't stopped once you think it has, and starts interfering with other's rendering. OpenGL artifacts are annoying and hard to track down. GLStateManager helps out a bit, but in the end artifacts shouldn't exist.
An example of "undoing" would be to translate your TESR to where you want it, render the item, then translate again with negative values, to reset it. This goes for every action you do with OpenGL.
I have a TESR that spins in all axii, as well as bobbing up and down here. You can take a look and see where your code differentiates. Do note, I'm calling other methods as well so a pure copy/paste will lead to unintended behaviour.and i will be very happy if you help me with that fast rotation, cant get rid of it too((
-
36 minutes ago, Matryoshika said:
You are rendering your item outside the pushed matrix. Move it to be rendered inside of it.
TESR's are also singletons. There is only one TESR that does the work for rendering every single tile-entity that it is bound to. If there are several loaded at the same time, then you need to compensate the rotation, either by using a variable from the TE itself, or any other "outside" data, otherwise it'll speed up by +1x times for each tile.
I would also recommend that you start to undo whatever you rendered after you are done. "Artifacts" are a type of behaviour when rendering isn't stopped once you think it has, and starts interfering with other's rendering. OpenGL artifacts are annoying and hard to track down. GLStateManager helps out a bit, but in the end artifacts shouldn't exist.
An example of "undoing" would be to translate your TESR to where you want it, render the item, then translate again with negative values, to reset it. This goes for every action you do with OpenGL.
I have a TESR that spins in all axii, as well as bobbing up and down here. You can take a look and see where your code differentiates. Do note, I'm calling other methods as well so a pure copy/paste will lead to unintended behaviour.Still cant get rid of no particles, moved to inside matrix (x=0,y=0.4,z=0) and trouble still in
-
11 minutes ago, Matryoshika said:
You are rendering your item outside the pushed matrix. Move it to be rendered inside of it.
TESR's are also singletons. There is only one TESR that does the work for rendering every single tile-entity that it is bound to. If there are several loaded at the same time, then you need to compensate the rotation, either by using a variable from the TE itself, or any other "outside" data, otherwise it'll speed up by +1x times for each tile.
I would also recommend that you start to undo whatever you rendered after you are done. "Artifacts" are a type of behaviour when rendering isn't stopped once you think it has, and starts interfering with other's rendering. OpenGL artifacts are annoying and hard to track down. GLStateManager helps out a bit, but in the end artifacts shouldn't exist.
An example of "undoing" would be to translate your TESR to where you want it, render the item, then translate again with negative values, to reset it. This goes for every action you do with OpenGL.
I have a TESR that spins in all axii, as well as bobbing up and down here. You can take a look and see where your code differentiates. Do note, I'm calling other methods as well so a pure copy/paste will lead to unintended behaviour.thanks alot, but most of it seems to be hard to understand coz im a beginner, i will appreciate any help with undoing as example
-
1 minute ago, Draco18s said:
What?
ive got a bit of progress, now its hovering properly, but all particles are disapearing when i am looking on this block, and when i place >2 of this blocks only 2 blocks are rendering with TESR
-
Help sos pls
with my TESR class
when im placing my InfusionAltar, all particles are disapearing, and >2 altars dont want to render, and speed of spinning and hovering are too dam fast, help pls
https://github.com/MamboDancer/minecraftmod/tree/master/src/main/java/ua/mambodancer/theterrifyingbeats/blocks/tileentities - link to problem code (TESRAltar)
-
1 minute ago, Draco18s said:
Done.
If you still have a problem, what is the problem?
which of the characters H O W you couldnt understand?
so, ive been making my furnace by tutorial, and now i dont understand how to add more slots in code, not in gui
i want to extend my 2 input recipe furnace to 5
my problem is i dont know how to properly add to the InfusionAltarRecipes, when I trying to add more ItemStacks to table, cant add more than 3
so i want to know how to recode and add it in right way
-
2 minutes ago, Draco18s said:
I can wait.
okay, I will explain. I can not understand why my JSON recipe doesnt want ti work, and I want to know how to add more input slots to my furnace
-
On 08.03.2018 at 4:49 PM, Mambo_Dancer said:
So i have a few questions to you.
So firstly I want to ask you how do I change my furnace(infusion altar) from 2 inserts to 5.Secondly I still cant understand how to properly create JSON recipes (uninfused star doenst want to craft)
Im a novice in mc moddev, so any help and advices would be great
1 hour ago, Draco18s said:I don't know, you haven't told me what the problem is.
I think you should to read again the SECONDLY part of my question
-
On 08.03.2018 at 9:47 PM, Draco18s said:
Define "doesn't work"
ty, i know, bad english
so, what is wrong with my mod? -
39 minutes ago, diesieben07 said:
You make more slots in your inventory.
Show what you tried.
https://github.com/MamboDancer/minecraftmod
minecraftmod/src/main/resources/assets/ttb/recipes/I need add more input slots into my furnace, i tried but that wasnt working
-
So i have a few questions to you.
So firstly I want to ask you how do I change my furnace(infusion altar) from 2 inserts to 5.Secondly I still cant understand how to properly create JSON recipes (uninfused star doenst want to craft)
Im a novice in mc moddev, so any help and advices would be great
-
6 hours ago, diesieben07 said:
- Do not create your block and item instances in a static initializer. setRegistryName does not work reliably there.
- You never register your gui handler.
- You cannot have ModelRegistryEvent in a common class, you will crash a server.
- Code style, issue 1.
- Problematic code, issue 10.
- Please use the new JSON system to register recipes.
Thanks a lot, called to preInit(i think this is its place) guihandler. So what i need to do with json recipes? one is working, other are not
-
44 minutes ago, diesieben07 said:
- Do not create your block and item instances in a static initializer. setRegistryName does not work reliably there.
- You never register your gui handler.
- You cannot have ModelRegistryEvent in a common class, you will crash a server.
- Code style, issue 1.
- Problematic code, issue 10.
- Please use the new JSON system to register recipes.
dunno why but only one of my JSON recipes is working, thanks for help,ill try to fix then reply
-
Hi there, im new to MCModding, ive got some troubles when creating a custom furnace(named infusionaltar). When im trying to open Gui(rightclicking) it just rightclicks but gui wont open.
(dont look at missing textures, will add after working furnace)
Here is my GitHub
https://github.com/MamboDancer/minecraftmod
All regards,MamboDancer
Help me with TESR
in Modder Support
Posted
Guys,thanks a lot, im updated my github so u can look how my "final" code of TESR are