Jump to content

Recommended Posts

Posted

I cant launch the server because the access transformer changes some rendering classes. How do I specify a different one for both?

 

public net.minecraft.entity.Entity * # All fields
public net.minecraft.client.multiplayer.PlayerControllerMP * # All fields
public net.minecraft.client.multiplayer.PlayerControllerMP *() # All methods
public net.minecraft.client.particle.EntityFX *() # All methods
public net.minecraft.client.particle.EntityDiggingFX *() # All methods
public net.minecraft.client.renderer.EntityRenderer * # All fields
public net.minecraft.client.renderer.EntityRenderer *() # All methods
public net.minecraft.network.INetHandler *() # All methods
public net.minecraft.network.play.INetHandlerPlayClient *() # All methods
public net.minecraft.client.network.NetHandlerPlayClient * # All fields
public net.minecraft.client.network.NetHandlerPlayClient *() # All methods
public net.minecraft.server.gui.IUpdatePlayerListBox *() # All methods
public net.minecraft.network.play.INetHandlerPlayServer  *() # All methods
public net.minecraft.network.NetHandlerPlayServer * # All fields
public net.minecraft.network.NetHandlerPlayServer *() # All methods
public net.minecraft.server.management.ItemInWorldManager * # All fields
public net.minecraft.server.management.ItemInWorldManager *() # All methods
public net.minecraft.client.Minecraft * # All fields
public net.minecraft.client.Minecraft *() # All methods
public net.minecraft.entity.Entity.MovingObjectPosition * # All fields
public net.minecraft.entity.Entity.MovingObjectPosition *() # All methods
public net.minecraft.client.renderer.RenderGlobal * # All fields
public net.minecraft.client.renderer.RenderGlobal *() # All methods

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted
public net.minecraft.server.gui.IUpdatePlayerListBox *() # All methods

That is an interface. What the hell were you thinking ?

Just stop using #All methods,and # All fields config.

You should specify what you want to change, each field, each method; and understand what is going to happen.

 

 

Posted

From what I understand all the fields are set to public in runtime anyway so it doesnt matter either way. I just cant get a server to launch because I need some fields public.

 

I really doubt that access transformers were made with the intention that if you used a client/server only class the game would crash. I really dont want to spend hours specifying fields in reflection, is there a workaround?

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted

Every time Ive tried reflection it never works for some reason. Could you point me in the right direction?

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted

public net.minecraft.entity.Entity * # All fields
public net.minecraft.client.multiplayer.PlayerControllerMP * # All fields
public net.minecraft.client.multiplayer.PlayerControllerMP *() # All methods
public net.minecraft.client.particle.EntityFX *() # All methods
public net.minecraft.client.particle.EntityDiggingFX *() # All methods
public net.minecraft.client.renderer.EntityRenderer * # All fields
public net.minecraft.client.renderer.EntityRenderer *() # All methods
public net.minecraft.network.INetHandler *() # All methods
public net.minecraft.network.play.INetHandlerPlayClient *() # All methods
public net.minecraft.client.network.NetHandlerPlayClient * # All fields
public net.minecraft.client.network.NetHandlerPlayClient *() # All methods
public net.minecraft.server.gui.IUpdatePlayerListBox *() # All methods
public net.minecraft.network.play.INetHandlerPlayServer  *() # All methods
public net.minecraft.network.NetHandlerPlayServer * # All fields
public net.minecraft.network.NetHandlerPlayServer *() # All methods
public net.minecraft.server.management.ItemInWorldManager * # All fields
public net.minecraft.server.management.ItemInWorldManager *() # All methods
public net.minecraft.client.Minecraft * # All fields
public net.minecraft.client.Minecraft *() # All methods
public net.minecraft.entity.Entity.MovingObjectPosition * # All fields
public net.minecraft.entity.Entity.MovingObjectPosition *() # All methods
public net.minecraft.client.renderer.RenderGlobal * # All fields
public net.minecraft.client.renderer.RenderGlobal *() # All methods

The exact goddamn reason I WANTED to disallow modders from using wildcards in ATs -.-

Seriously that's beyond stupid....

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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