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

goo d days

 

well i made a simple entity and a render, and i declare them in the client proxy doing

 

RenderingRegistry.registerEntityRenderingHandler(mercenarymod.entidades.entidadAgujero.entidadAgujero.class,
new mercenarymod.entidades.entidadAgujero.renderAgujero( Minecraft.getMinecraft().getRenderManager()) ); 

 

and its works but registerEntityRenderingHandler is market as deprecated iknow i must declare it whith the other constructor

 

public static <T extends Entity> void registerEntityRenderingHandler(Class<T> entityClass, IRenderFactory<? super T> renderFactory)

 

this IRenderFactory class i don't get how to use it or create whatever.

 

###############

Someone could give mi a working example of this ??

 

 

 

 

  • Author

hi thanks

like 3 weeks ago i try the same but could solve the error it shows

 

but now pop up the opciont to convert the project to java 1.8 and resolve the underliying errors

ending like this

 

but is not loading the model is just a white big box,

cuadro00.png

 

 

for testing propourses im using the arrow model  exactly the yellow tipped so it must look like

width=800 height=500http://s22.postimg.org/hvhu29oz5/Pantallazo_1.png[/img]

 

 

i been reading about and it seems like    cosa ::new  ==  new  cosa();

but seems not posible to pass the RenderManager this way

 

how do you solve this

 

entidadAgujero.java

https://gist.github.com/anonymous/379b026a3ec2591aa0441ffa5840b66f

 

renderAgujero

https://gist.github.com/anonymous/ef0d82f49ba11c37911773804bead0dc

 

client proxy

https://gist.github.com/anonymous/73ba2b09e1b36d5dedea4edfe026f1db

 

 

thanks for reading

 

 

 

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.