Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Frieder Hannenheim

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Frieder Hannenheim

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The mappings for older versions are there but not 1.16 http://export.mcpbot.bspk.rs/
  2. 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
  3. 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?
  4. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.