Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • ChampionAsh5357

ChampionAsh5357

Members
 View Profile  See their activity
  • Content Count

    1021
  • Joined

    June 13, 2017
  • Last visited

    1 hour ago
  • Days Won

    19

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by ChampionAsh5357

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 40  
  1. ChampionAsh5357

    [1.16.5] Properly using DistExecutor with arguments

    ChampionAsh5357 replied to Choonster's topic in Modder Support

    My only comment would be on OpenClientScreenMessage as the Minecraft instance can just be obtained inside the method itself. This is still 'safe' I believe, but we should avoid calling anything that might only be available on the client that is not isolated in a different class. This is my opinion as it still won't be loaded unless on the physical client.
    • Sunday at 02:47 PM
    • 3 replies
  2. ChampionAsh5357

    [1.16.5] Properly using DistExecutor with arguments

    ChampionAsh5357 replied to Choonster's topic in Modder Support

    From what I understand, this is not the correct way to use DistExecutor. For the case where you can't supply a runnable or supplier, DistExecutor#unsafe* should be used instead. This will supply a runnable of what you want to execute (e.g. () -> () -> //Do things). This does not verify nor guarantee that the code is completely safe to access; however, if the runnable executes another method that is isolated in a different class, it is 'safe' since classloading will not occur. So, the proper way to implement the code above is DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> ClientScreenManager#openScreen).
    • Saturday at 07:02 PM
    • 3 replies
      • 1
      • Thanks
  3. ChampionAsh5357

    [1.15.2] Custom rendering interact with lighting

    ChampionAsh5357 replied to CookieLukas's topic in Modder Support

    You can look at what implements the interface. You can also infer which classes might need to know the light value (for example, the world). To be able to statically project an object, you need to take the position and subtract it from the projected view.
    • Wednesday at 02:44 PM
    • 3 replies
  4. ChampionAsh5357

    [1.15.2] Custom rendering interact with lighting

    ChampionAsh5357 replied to CookieLukas's topic in Modder Support

    Well, it might help if you enable the lightmap associated with the block. Also, why not render a block using BlockRendererDispatcher? Finally, why do you even need to render a custom version of a block?
    • January 20
    • 3 replies
  5. ChampionAsh5357

    [1.16] Transparent Picture Render in GUI

    ChampionAsh5357 replied to monkeysHK's topic in Modder Support

    Try without RenderSystem::blendColor. If not, try disabling the depth test (disableDepthTest) and depth mask (depthMask). Remember that these should be reset during the teardown phase.
    • January 18
    • 6 replies
  6. ChampionAsh5357

    Tessellator ignores lighting?

    ChampionAsh5357 replied to CookieLukas's topic in Modder Support

    What version is this?
    • January 18
    • 3 replies
  7. ChampionAsh5357

    The import net cannot be resolved

    ChampionAsh5357 replied to me1's topic in Modder Support

    Please link a paste to the gradle log from the erroring build process.
    • January 18
    • 25 replies
  8. ChampionAsh5357

    [1.16.4] Looking to add trades to villagers/wandering traders

    ChampionAsh5357 replied to basicsid's topic in Modder Support

    Villagers can be added via VillagerTradesEvent while wandering traders via WandererTradesEvent.
    • January 18
    • 1 reply
  9. ChampionAsh5357

    [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

    ChampionAsh5357 replied to Klarks's topic in Modder Support

    Yes, as you can see it has the obfuscated name which translate to its unique srg name and then finally the mapped name. You will need the srg name as your parameter. The static keyword makes the field/method available at class level meaning you do not need an instance to grab the associated value. So, a null value can be passed in instead.
    • January 18
    • 9 replies
  10. ChampionAsh5357

    [1.16] Transparent Picture Render in GUI

    ChampionAsh5357 replied to monkeysHK's topic in Modder Support

    Setting the alpha state does not enable transparency. You need to set up the blend function in such a way such that the rgba inputs are being blended correctly. This is why I mentioned TRANSLUCENT_TRANSPARENCY.
    • January 18
    • 6 replies
  11. ChampionAsh5357

    [1.16.4] Multiple worlds

    ChampionAsh5357 replied to Forix's topic in Modder Support

    Well, yes. Now there's a bunch of new caveats. If you really want to attempt this, a similar mod named Hyperbox by Commoble accomplished this. That's probably the best I can do as the process of actually handling is quite complicated and problematic at times.
    • January 18
    • 9 replies
  12. ChampionAsh5357

    [1.16.4] Multiple worlds

    ChampionAsh5357 replied to Forix's topic in Modder Support

    Ah ok. Well, that would be quite complicated. You would need to create a new key for every dimension you create and store them somewhere for easy access. You would also need to construct the ServerWorld, add a world border listener, update the world cache, and send a packet to the player with the required information. This also requires ejecting players from broken worlds or proper teleportation when needed. There are about a hundred other checks that are also necessary. Although, a question I might ask is that why make this a mod? This seems like more a server plugin.
    • January 17
    • 9 replies
  13. ChampionAsh5357

    [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

    ChampionAsh5357 replied to Klarks's topic in Modder Support

    Apologies, you have to be on the forge discord to access the bot for the commands. Now, if you wouldn't mind answering my question about your knowledge in Java and reflection.
    • January 17
    • 9 replies
  14. ChampionAsh5357

    [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

    ChampionAsh5357 replied to Klarks's topic in Modder Support

    How familiar are you with Java and reflection? Also, read the javadocs on the method, do not supply a mapped name and instead the associated srg name (which can be obtained from forge-bot via '!mcpf <mapped_name>).
    • January 17
    • 9 replies
  15. ChampionAsh5357

    [1.16.4] Multiple worlds

    ChampionAsh5357 replied to Forix's topic in Modder Support

    You cannot dynamically register new dimension within JSON. I think I'm going to need a clearer goal of the task at hand. What are you trying to accomplish on the user end?
    • January 17
    • 9 replies
  16. ChampionAsh5357

    [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

    ChampionAsh5357 replied to Klarks's topic in Modder Support

    The object itself is immutable, the data can be mutable. The issue is that the field accessor is private. ObfuscationReflectionHelper#getPrivateValue can be used to obtain the Map to which you can put the value during common setup.
    • January 17
    • 9 replies
  17. ChampionAsh5357

    items not extending to java class(1.16)

    ChampionAsh5357 replied to The_Raven's topic in Modder Support

    Please provide the repository and a code snippet of where your exact problem is as your question seems to be worded incorrectly.
    • January 17
    • 1 reply
  18. ChampionAsh5357

    [1.16.4] Config file will not update.

    ChampionAsh5357 replied to metword's topic in Modder Support

    It seems your testing if the value changed using the logger, which will always be the default value when first initialized. This is not to mention that the entirety of the code is reaching across sides and still trying to force load the config.
    • January 17
    • 17 replies
  19. ChampionAsh5357

    [1.16.4] Config file will not update.

    ChampionAsh5357 replied to metword's topic in Modder Support

    Please link your repository then. I'm questioning a few things regarding that TextConfig class and context surrounding what you are using on the client and server configuration.
    • January 17
    • 17 replies
  20. ChampionAsh5357

    [1.15] replacing chunks

    ChampionAsh5357 replied to JeffMan's topic in Modder Support

    Something that cannot be mentioned on the forums as coremodding isn't supported here.
    • January 17
    • 3 replies
  21. ChampionAsh5357

    [SOLVED] [1.16.5 ] Dust Block Texture Glitch

    ChampionAsh5357 replied to Linky132's topic in Modder Support

    I would try increasing the size of the model to around 0.005 compared to a flat plane.
    • January 17
    • 4 replies
      • 1
      • Like
  22. ChampionAsh5357

    [1.15] replacing chunks

    ChampionAsh5357 replied to JeffMan's topic in Modder Support

    Since this mod is uses a library that is present within Forge, yes it is possible. Although, you should prioritize handling these items in events if possible.
    • January 17
    • 3 replies
  23. ChampionAsh5357

    [1.16.4] Multiple worlds

    ChampionAsh5357 replied to Forix's topic in Modder Support

    I would say don't do that and just register multiple dimensions. Each 'world' is a dimension, so having multiple 'world' with the same dimension qualifier will make it problematic to handle when saving or loading data. However, you can have two JSONs holding the same information under different dimension names.
    • January 17
    • 9 replies
  24. ChampionAsh5357

    [1.16] Transparent Picture Render in GUI

    ChampionAsh5357 replied to monkeysHK's topic in Modder Support

    Whenever trying to use RenderSystem, a good reference is the RenderState class as it shows you the startup and teardown methods needed to handle what you need. In this case, I would suggest looking at RenderState#TRANSLUCENT_TRANSPARENCY. As a side note, whenever possible, IRenderTypeBuffer should be used to handle drawing objects to the screen, although in this case it is not that applicable.
    • January 17
    • 6 replies
  25. ChampionAsh5357

    I need help to learn

    ChampionAsh5357 replied to SixSix's topic in Modder Support

    On the Forge discord, the following appears as a trick: Official documentation: https://docs.oracle.com/javase/tutorial/ Absolute basics with an interactive editor: https://www.codecademy.com/learn/learn-java Ongoing online course with assignments: https://java-programming.mooc.fi/ As a side note, the language on the forums should be English and that you will not receive support until you have a proper grasp of Java. Good luck, and I hope you come to ask more questions once you have spent a good amount of time learning and practicing the language.
    • January 17
    • 1 reply
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 40  
  • All Activity
  • Home
  • ChampionAsh5357
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community