hohserg
-
Posts
57 -
Joined
-
Last visited
Posts posted by hohserg
-
-
I recently noticed that files.minecraftforge.net are uses http and some concerned about this: downloading files via http is not safe, because content can be replaced in the middle of the path from the server to the clientNow I noticed that site are uses https and all fine: https://files.minecraftforge.net/
But first link in google search with http! Maybe you do not tune webserver correctly?
Also in a EAQ uses http links:
Plz, fix it.
Thx
-
Did anyone found how to port IWorldGenerator to Feature? I still wander in the dark. Help plz
-
@Womas what's version are you use?
-
Also actual example for publiched version is https://github.com/MinecraftForge/Scorge/tree/3e870dc5c1d4da88cd781a6f329878208023d0a8/example
-
Where I can get version of Scorge?
https://github.com/MinecraftForge/Scorge/blob/1.14.x/example/build.gradle#L58
3.0 is not work
~~~
Solved, look versions at https://files.minecraftforge.net/maven/net/minecraftforge/Scorge/index_default.html
-
?♂️Sorry, I miss it)
-
How to? I found Scorge but it have not example or docs
-
2 minutes ago, Animefan8888 said:
somewhere else
What are any ways to add custom vertex data into chunks rendering data?
-
Just now, Animefan8888 said:
You want to bake your rendering data into the chunks rendering data?
Yes, I want it!
-
Ok, step by step. Abstractly, ok?
I have some render code in RenderWorldLastEvent handler.
It render dependent on some my state(mutable variable, as example).
It state can change only with changing blocks in chunk.
So render can change only with changing blocks in chunk too.
Therefore I want to bake it render in chunk like baked blocks models.
In version 1.7.10 it may be implement by using RenderWorldEvent, because it event fire before and after chunks render and baked with him
Plz, tell me moment with which it is not clear
-
2 minutes ago, Animefan8888 said:
RenderWorldLastEvent
Yes, but it are not provide way to bake custom render to chunk
-
-
1 minute ago, Wintersky20 said:
PlayerInteractEvent.RightClickBlock
Yeah, it may useful for accept water in nether
- 1
-
Yeah, I see it now, sorry. But it's not have mention to concrete classes(like ReplaceBiomeBlocks?).
11 minutes ago, Wintersky20 said:to change water behavior if you wanna keep the water in the nether!
Logic of vaporizing located in ItemBucket, so generated water can be keep, but players can't add more water
-
Why noone do not suggest to use implementation IWorldGenerator for replace all generated lava?
It's may be lagged?
-
Try to check `Minecraft.getInstance().gameSettings.keyBindSneak.isPressed()` for choose what are show in tooltip
-
@RonMine plz, show blockstate and model json of your block. It seems that you forgot "inventory" variant of blockstate.
-
It's very easy!
Some geometry:
In general it will be similar:
String text = "something"; int objectWidth=fontRenderer.getStringWidth(text); int screenWidth=Minecraft.getInstance().mainWindow.getWidth(); fontRenderer.drawString(text, screenWidth/2-objectWidth/2, 10); //we can optimize division: fontRenderer.drawString(text, (screenWidth-objectWidth)/2, 10);
-
In version 1.7.10 exists RenderWorldEvent: https://github.com/MinecraftForge/MinecraftForge/blob/1.7.10/src/main/java/net/minecraftforge/client/event/RenderWorldEvent.java
Event handling of this can be used for bake some world chunks render
Any ways for analogue in new versions?
Something about my task:
I have RenderWorldLastEvent handler with some world rendering which do not change until next chunk rebuild(like until blocks change). And I think that may be good idea that bake it render in chunk like block render
Thx for answers in advance)
-
Your file are missed. Use pastebin or gist, plz
-
How about only mods from curse?
-
I and my friend want to make some features for forge. First question we encountered is "what actual version?"
Now 1.12.x and 1.13.x developing activly.
Thx for answers in advance)
-
On 1/28/2019 at 4:37 PM, diesieben07 said:
IBlockState
I'm need to make my model dependent on 256! variants, overmore I'm dont use block states because my model intended not for my blocks
On 1/28/2019 at 4:37 PM, diesieben07 said:since the model may be rendered on a different thread
What cases of this?
Also I'm dont store coordinates, they used one time
On 1/28/2019 at 5:04 PM, Cadiboo said:Why do you need this info
For get possible to change models of blocks with depend of coordinates
-
Solved)
package net.minecraftforge.client.model.pipeline; public class BlockInfoLense { public static BlockInfo get(VertexLighterFlat v) { return v.blockInfo; } }
[1.15.2] Try to register custom item model
in Modder Support
Posted · Edited by hohserg
I try to assume more clearer.
Liahim want to set custom implementation of baked model for some item.
This item dont have base json model.
Missing of json model is desirable behavior.
And he ask: how to remove warnings from log?