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.

Frieder Hannenheim

Members
  • Joined

  • Last visited

Everything posted by Frieder Hannenheim

  1. The mappings for older versions are there but not 1.16 http://export.mcpbot.bspk.rs/
  2. You can do that? That's easier than I thought then
  3. I want to add new music to the end. I could do this by adding this: @Nullable @Override @OnlyIn(Dist.CLIENT) public MusicTicker.MusicType getMusicType() { return MY_NEW_MUSIC; } code to the EndDimension. I don't really wan't to use a coremod because I don't really know how to do it and it is considered bad practise
  4. I need to execute a function but i can't execute it while ticking the entities because it removes an entity. How can i schedule that function to be run after the tick?
  5. I want to teleport the Entity hit by my arrow to be teleported to the nether. protected void arrowHit(LivingEntity living) { super.arrowHit(living); if (!living.world.isRemote()){ CustomTeleporter t = new CustomTeleporter(living.getServer().getWorld(living.world.dimension.getType() == DimensionType.THE_NETHER ? DimensionType.OVERWORLD : DimensionType.THE_NETHER)); t.TeleportToNether(living); } } This is the line that is causing an error. playerEntity.teleport(entity.getServer().getWorld(destination), entity.getPosition().getX() * movementFactor, entity.getPosition().getY(), entity.getPosition().getZ() * movementFactor, entity.rotationYaw, entity.rotationPitch); The StackTrace: at net.minecraft.world.server.ServerWorld.removeEntity(ServerWorld.java:1001) ~[?:?] {re:classloading} at net.minecraft.world.server.ServerWorld.removePlayer(ServerWorld.java:1022) ~[?:?] {re:classloading} at net.minecraft.entity.player.ServerPlayerEntity.teleport(ServerPlayerEntity.java:1243) ~[?:?] {re:classloading,pl:accesstransformer:B} at com.fhannenheim.portablenether.FriederTeleporter.TeleportToNether(FriederTeleporter.java:42) ~[?:?] {re:classloading} at com.fhannenheim.portablenether.entities.NetherArrowEntity.arrowHit(NetherArrowEntity.java:37) ~[?:?] {re:classloading}

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.