Jump to content

hohserg

Members
  • Posts

    57
  • Joined

  • Last visited

Posts posted by hohserg

  1. 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 client

    Now 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:

     

    image.png.9b91dd4e7379790118099233224e1133.png

    image.png.923024ed94b358fefeb9e2c52867fadf.png

    Plz, fix it.

    Thx

  2. 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

  3. 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

  4. It's very easy!

    Some geometry:

    image.png.c83a24557940adb033e55e1c3fc15b5b.png

     

    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);

     

  5. 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)

  6. 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  

×
×
  • Create New...

Important Information

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