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.

lightblue

Members
  • Joined

  • Last visited

Everything posted by lightblue

  1. I actually want any entity to be pushed up, so it's fine if it's not a player. again, the problem is that the player does not move, I looked in debug the player is found and addVelocity() adds the right amount of motion to the player entity and yet he does not move..
  2. Hi everyone, first I must say I'm new to modding minecraft and new to Java. I'm trying to create a new redstone powered block that works like a springboard. It's intended for adventure maps so it's indestructible. My problem is that when the block is activated by the player(right clicking) everything works fine and the player is launched to the air but when it's activated by redstone every other entity is launched(pigs, mobs, etc..) EXCEPT for the player. Anyone can tell me what I'm doing wrong? I'm working on minecraft version 1.4.7 if that helps. Here is the block class code: http://paste.minecraftforge.net/view/3677cf49 Here is the problematic function: private void BumpEntities(World world, int x, int y, int z) { List<Entity> list = world.getEntitiesWithinAABB(Entity.class, AxisAlignedBB.getBoundingBox(x, y, z, x+1, y+1, z+1)); for(Entity entity : list) { entity.addVelocity(0, Force, 0); } }

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.