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.

prock51

Members
  • Joined

  • Last visited

Everything posted by prock51

  1. Thanks! I got it to work!
  2. That's GL11.glBegin(GL11.GL_QUADS), right?
  3. I was messing around with a tutorial on WorldRenderer and it used some changed method names, but I managed to find the changes, but I couldn't for one. What is startDrawingQuads() changed to? Thanks .
  4. I am currently making a block that allows you to put an item in it (by right clicking with it). I'm able to get the item, which is easy, but how do I actually start drawing the 3D model of the item into the block (it is going to be inside a glass case)? If you seen Tinkers' Construct's crafting station, it is sort of like that. I would guess you would use tessellator, but a lot of tutorials are either outdated or extremely confusing.
  5. You could search around for creating containers with multiple slots, and then create a crafting matrix with a result, but as for direct tutorials, I have no idea.
  6. Where are you setting the damage? Damage the entity in onImpact. For example, look at the EntitySnowball class. That should give you a rough idea.
  7. Entities have a task to automatically look at other entities. Look at say the zombie class. this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); Change EntityPlayer.class to the class of your custom villager. That should do it. No need for setting the pitch and yaw manually.
  8. World#isRemote is false on the server and true on the client. Oh lol. Said it backwards . But getting rid of !world.isRemote, should fix it.
  9. You're checking for client-side at else if ((!world.isRemote) && (nbtTagCompound.hasKey("bound")) && (nbtTagCompound.getBoolean("bound"))) , but changing dimension is server-side. Remove the !world.isRemote. That should fix it

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.