Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Posts posted by Cadiboo

  1. On 2/11/2020 at 7:13 AM, GenElectrovise said:

    Oh and I don't even think it will work as all the method does is:

       Reveal hidden contents
    
    
    throw new IllegalStateException("Enum not extended");

     

    ...sooooooo yeah. Any tips?

    Read the documentation on IExtensibleEnum.

    I’ll take a look into world gen myself and report back (never done anything except super basic ore gen back in 1.12.2)

  2. All items have 3d models. Some of them just happen to have a single flat element with a full texture UV. You can even find the model at item/generated.json (I think). You can either split your texture into multiple textures or have a non-default model. I would recommend the former as it’s more future-proof and will still be compatible with whatever extra stuff minecraft does to get the 1-pixel-wide sides to the default models.

  3. I’ve got a tutorial series if you need help with the basics of modding.

    Something like splitting something that’s been rendered up into multiple particles that dissipate is likely going to require some very advanced OpenGL code, it’s not something you’re going to be able to do easily as a beginner. The closest thing I can think of that would be doable for a beginner would be to reduce the opacity of the renderer objects while at the same time increasing their size to create a similar effect. Prior to 1.15 you would do this by modifying GL state in the RenderLivingEvent.Pre but I’m not sure if this is still possible due to the massive rendering changes in 1.15.

  4. 14 minutes ago, Villfuk02 said:

    Required type: Function

    15 minutes ago, Villfuk02 said:

    Provided: DryerTileEntityRenderer

    Not sure what’s hard to read about that.

    You need to pass in a function that takes in a TileEntityRendererDispatcher instance and returns a TileEntityRenderer instance. A constructor reference to your TER is most commonly used.

    https://github.com/Cadiboo/Example-Mod/blob/4ef1557fdb1ed5ff9ca3af5b9cd06711112363ab/src/main/java/io/github/cadiboo/examplemod/client/ClientModEventSubscriber.java#L46 

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.