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

Access transformers doesn't work with forge classes


hohserg
 Share

Recommended Posts

My _at.cfg:

public net.minecraftforge.client.model.pipeline.VertexLighterFlat blockInfo

#I'm also tried following:
public net.minecraftforge.client.model.pipeline.VertexLighterFlat *

gradlew setupDecompWorkspace log:

:deobfMcSRG
Applying SpecialSource...
1 Broken Access Transformer lines:
 ---  net.minecraftforge.client.model.pipeline.VertexLighterFlat *
:deobfMcSRG FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':deobfMcSRG'.
> Your Access Transformers be broke!

AT that targetted to vanilla classes(in package new.minecraft) work correctly.

Thx for your answers in advance)

Link to comment
Share on other sites

24 minutes ago, hohserg said:

Solved)


package net.minecraftforge.client.model.pipeline;

public class BlockInfoLense {
    public static BlockInfo get(VertexLighterFlat v) {
        return v.blockInfo;
    }
}

 

No! Don't do this. You must not be accessing the world in your model, since the model may be rendered on a different thread, so you will cause random and seemingly inexplicable crashes.

Any information necessary for the model to render must be stored in the IBlockState.

 

Link to comment
Share on other sites

Why do you need this info, what are you trying to do?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

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  

Edited by hohserg
Link to comment
Share on other sites

49 minutes ago, hohserg said:

256! variants

That's a lot of variants... (85781777534284265411908227168123262515778152027948561985965565037726945255314758 variants)

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

You should not do that thing you are doing in the way you are wanting to do it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

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