Everything posted by Animefan8888
-
RenderWorldEvent in new versions
You could look at ChunkRenderDispatcher, RegionRenderCacheBuilder, and WorldRenderer to figure out where and how.
-
[SOLVED] - [1.15.2] json model is rendering transparent parts of a texture as black
Check the link I posted.
-
RenderWorldEvent in new versions
There is no event for that. You will need to bake your data somewhere else.
-
[SOLVED] - [1.15.2] json model is rendering transparent parts of a texture as black
You would likely be correct. Could you post your code and check out this post.
-
RenderWorldEvent in new versions
This part is where I lose you. You want to bake your rendering data into the chunks rendering data?
-
Trying to register blocks using the registerAll method. i don't know what i am suppose to put into the parameters
It's this the net.minecraftforge.eventbus.api.SubscribeEvent. If you can't import that you set up your workspace incorrectly and will need to inform us on how you set it up.
-
I want to make my player boost forwards, back, left or right relative to where they're facing, is there anyway I can do this?
This is a little more complicated than what you have tried. When the key is pressed down you will need to send a packet to the server. The packet will say hey this player has pressed this button. The server will verify any other conditions then proceed with the appropriate response. In your case it will change the velocity of the player. Now Minecraft uses xVel, yVel, and zVel so you likely need to use trig depending on exactly what you want to do. PlayerEntity::moveForward and PlayerEntity::moveStrafe are from what I can tell multipliers on the actual motion values. And any change you do to them will be imperceptible because they are changed immediately before the entity moves.
-
is there a way, that the vanilla RedStoneWireBlock get´s the coloring from a png in a custom resourcelocation?
I'm not sure if this will work, but it may be worth a try. Probably but you may as well just use code and no image file to get the color. In BlockColors.register seems to be what you want. You can use that to change the color of the redstone there.
-
Trying to register a fluid, but constructers aren't working
Remove the new keyword.
-
[1.15.2] Replace water in nether with lava
They also should be using the Registry Events to register things that belong in a registry...
-
RenderWorldEvent in new versions
There is no way for me to know what you want to do if you don't explain it. Please explain what exactly you want to do.
-
[SOLVED] Data folder doesn't load!! || Modding Support 1.15.2
Post the latest debug.log file.
-
RenderWorldEvent in new versions
There doesn't seem to be an appropriate event for what you are wanting to do on 1.15.2. I'm not sure what you want to do, but there is RenderWorldLastEvent in 1.14.4
-
Is it possible to have a multiple well animated hitbox for large entities
This is not how client-server architecture works. The server determines where the hitbox is then sends that to the client. So you are going to need to control the animation on the server and update the hitboxes accordingly.
-
[SOLVED][1.15] Activate Effect when /effect command is used
Post your code.
-
Creating dependencies in 1.15.2
What does this mean? What did you try?
-
[1.14/1.15] Save List on player clientside
Either to a JSON file via the GSON library(good if you want to easily be able to read the data with your eyes) or using CompoundNBT and CompressedStreamTools.
-
[1.14/1.15] Save List on player clientside
Capabilities wouldn't save the data if the mod is meant to be client side. At least not on dedicated servers. So @Tupaç is better off writing the file to disk themselves.
-
[1.15.2] Looking for tutorials on structure generation
Seeing as how World Gen tutorials were pretty sparse even prior to 1.13 I doubt there are any or at least any good ones. I would say look at the Buried Treasure structure/feature as it seems really basic. Basically look at where the constructors are called as well for the associated classes until a place looks like a registry or something to do with world generation. And use that to make a simple structure before you make your actual structure.
-
[ 1.15.2 ] Block won't drop item when broken [SOLVED]
In eclipse in the package explorer there is Reference Libraries -> client-extra.jar You can look at all the assets and data files for vanilla in there. If you are not using eclipse I'm not sure of the entire process but somewhere there should be a client-extra.jar file you can look into. If not you can always go to your .minecraft folder and open the 1.15.2 versions jar file.
-
[ 1.15.2 ] Block won't drop item when broken [SOLVED]
You also need to add a loot_table file for your block drops. If you need an example check out the vanilla jar file. Or look it up.
-
[1.15.2] Unable to replace entity at WorldJoinEvent
You need to call World::addEntity
-
[1.15.2] Add item tooltip on SHIFT press
It's called Screen::hasShiftDown now.
-
[ 1.15.1 ] How do you create a timer?
Post your code. You probably forgot to call the super methods because I didn't include them in my example.
-
1.15.2 Center text
That's exactly what I meant. Inside the RenderGameOverlayEvent there is a getWIndow() function and that has a bunch of getters inside of it. There is one for getScaledWidth/Height and the normal getWidth/Height not sure which one you want to use though.
IPS spam blocked by CleanTalk.