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.

Leaderboard

Popular Content

Showing content with the highest reputation on 03/08/20 in all areas

  1. So now we're getting into "How do I bypass mod blacklists" territory, I'm going to lock this dung pile.
  2. You mean, starting in the center? Your problem is here: AxisAlignedBB grid = (new AxisAlignedBB(pos.getX(), pos.getY(), pos.getZ(), (pos.getX() + 3), (pos.getY() + 3), (pos.getZ() + 3))); You need to subtract 1 from the first three values and only add 1 to the last three. so the range is -1, 0, 1.
  3. Definitely not an expert but hope i can help. For clarity there are 4 things that are needed IParticleData, ParticleType<>, Particle & IParticleFactory These are how they relate: When you extend ParticleType<>, it must have a class that implements IParticleData. You need a factory that implements IParticleFactory (I nested it in the Particle class) That factory will be registered during the ParticleFactoryRegisterEvent it's explained in the javadocs but during that event you register the factory in Minecraft.getInstance().particles.registerFactory The IParticleFactory will take a ParticleType<IParticleData> and give back a Particle The Particle class needs to be client only, you can use @ OnlyIn or use a dist value in the mod bus subscriber for the particle factory. You can aso take a look at BasicParticleType, it skips the need to have a separate class implementing IParticleData.
  4. Do we really need to register each block in the clientsetupevent that we want to be a transparent block? that seems horribly redundant from just adding a simple method to a base class like bush block or something! *edit* but after looking at rendertypelookup, it is indeed how vanilla does it! well I guess that's the new rendering engine for you

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.