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

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Leaderboard

Leaderboard

  • Leaderboard
  • Past Leaders
  • Top Members
  • in all areas
    • All areas
    • Events
    • Event Comments
    • Event Reviews
    • Posts
    • Status Updates
    • Status Replies
  • Custom Date
    • All time

      February 2 2017 - January 21 2021

    • Year

      January 21 2020 - January 21 2021

    • Month

      December 21 2020 - January 21 2021

    • Week

      January 14 2021 - January 21 2021

    • Today

      January 21 2021

    • Custom Date

      11/28/20 - 11/28/20

    • Between and
  1. Draco18s

    Draco18s

    Members


    • Points

      2

    • Content Count

      15926


    • Find Content
  2. ModMCdl

    ModMCdl

    Members


    • Points

      2

    • Content Count

      180


    • Find Content
  3. c_y

    c_y

    Members


    • Points

      2

    • Content Count

      1


    • Find Content
  4. TheGreyGhost

    TheGreyGhost

    Members


    • Points

      1

    • Content Count

      3280


    • Find Content

Popular Content

Showing content with the highest reputation on 11/28/20 in all areas

  1. 2 points
    c_y

    How do I add custom trades to the Wandering Trader?

    Your answer ("please learn basic Java programming before making a mod.") was of no help at all either way. This question wasn't even about basic Java--the RegistryObject class and all of its methods are part of Minecraft Forge, and so it is completely reasonable not to know a specific function from it. Moomallowz, I appreciate your attitude and I hope your mod is going well! You are not a dunce, those are understandable and clear questions, and you are working to improve.
    • November 28, 2020
  2. 1 point
    TheGreyGhost

    Having some issues with block transparency/opacity

    Howdy That might be tricky depending on what you're trying to achieve; it will make blocks under your glass appear dark? It will probably help to dig through the vanilla code for notSolid and the vanilla calculations for light propagation, with any luck you will find a combination of properties that achieves what you want without messing up rendering effects like ambient occlusion or the rendering culling (the "see through portal" effect you discovered). AbstractGlassBlock is a good place to start, glass already reduces the light passing through it by a certain amount (like water as well, from memory) so that may be a further clue. Re tutorials- You might find this tutorial project (working examples) useful; it's currently at 1.16.4 https://github.com/TheGreyGhost/MinecraftByExample http://greyminecraftcoder.blogspot.com/2020/05/minecraft-by-example.html -TGG
    • November 28, 2020
  3. 1 point
    ChampionAsh5357

    Having some issues with block transparency/opacity

    You can override certain methods to disable light passthrough. Specifically, setting Block#propagatesSkylightDown to false will disable light passing through the block iirc. None that I would recommend. You can still use old tutorials like those of McJty with a little bit of care, but most of them should still be relevant. You can read this to get a small rundown of some changes:
    • November 28, 2020
  4. 1 point
    Draco18s

    Adding lore to items in 1.16

    Its called a SRG name. Its an automatically assigned identifier by the decompilation process so that even as obfuscated names get shuffled and changed every time Mojang updates the game, the SRG names stay constant. But it means that when major versions happen the SRG -> MCP name identification and mapping needs to be rediscovered.
    • November 28, 2020
  5. 1 point
    Draco18s

    Adding lore to items in 1.16

    Yes, you have marked a method with @Override but are not actually overriding a method. You need to correct the method signature so that you are overriding a method.
    • November 28, 2020
  6. 1 point
    ModMCdl

    How do I add custom trades to the Wandering Trader?

    Well, it's the reason his item wasn't being accepted, was it not? The line required an instance of an item, not the item itself which with a DeferredRegister is handled with .get()?
    • November 25, 2020
  7. 1 point
    ModMCdl

    How do I add custom trades to the Wandering Trader?

    If you're registering your objects using a deferred register, you'll need to use RegistryHandler.EXOTIC_SPICE.get()
    • November 24, 2020
  8. 1 point
    vemerion

    How do I add custom trades to the Wandering Trader?

    Call the WandererTradesEvent event and add your own custom ITrades to the list in the event.
    • November 23, 2020


  • All Activity
  • Home
  • Leaderboard
  • Theme

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