Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

 

ლ(́◉◞౪◟◉‵ლ

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.

 

 

  • Author

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

 

ლ(́◉◞౪◟◉‵ლ

  • Author

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

 

ლ(́◉◞౪◟◉‵ლ

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.