• check_circle Functions
  • check_circle Loot Tables
  • check_circle Recipes
  • 40,120 views, 25 today
  • 5,007 downloads, 3 today
  • 99
  • 103
  • 118
Ant_Redstone avatar Ant_Redstone
Level 51 : Grandmaster Cake
52

Warp Book




Hello everyone, in this datapack I bring you a warp book, a craftable book that allows you to teleport to saved Points
Datapack Inspired by Dislocators from Draconic Evolution
Datapack Created to Minecraft 1.15+, it will NOT work in minecraft 1.13.2 or below



January 2021 Notes:
Hello everyone, I'v been away for a while, and I'm sorry for that, but this isn't a job, it's just a hobby, and I'v been busy with other things, but today I woke up with my first donation, so I decided to fix those 2 bugs that I'm sure were in the way of some of you, tyvm



Please report any bugs and I'll fix asap, try to say what you did, what happened and which version you'r at



How To Use:



To use this datapack is really easy.
1. Craft your Warp Book,
2. Right Click with your "Set Warp Point" Book to save your location,
3. Drop the "Warp Book" to teleport to the saved location.


Info About Multiple Warp Book

To Save a Warp Book inside him, jump while holding the Multiple at Off-hand and the one to save in your Main-hand
To Cycle between saved books in your Multiple one, hold it in your off-Hand and jump, a message with the name of the warp will show on top of your hotbar


Extras:

1. You can place your "Warp Book" at lectern and right click it to teleport
2. Any Teleport Action won't work while sneaking
3. You do can rename your Warp Book in an Anvil
4. If Warp is Named in your Multiple Warp Book, you'll be able to see the name of it while you cycle it.



Recipes:


Warp Book:

Warp Book Minecraft Data Pack

8 Books + 1 Ender Eye


Multiple Warp Book:

Warp Book Minecraft Data Pack
4 Nether Stars + 4 "Set Warp Point" Books + 1 Ender Eye


Multiple Warp Book Extractor:

Warp Book Minecraft Data Pack
4 Redstone Dusts + 4 White Dyes + 1 Writable Book



Items Added:










Dimension -1 = Nether
Dimension 0 = OverWorld
Dimension 1 = The End


Features:


1. Warp Book

2. Compatibility to Lecterns

3. Consumes XP by distance travel

4. Creative Players don't pay their XP

5. It's possible to change the amount of Blocks Traveled Per XP

6. Toggleable Options

7. Multiple Warp Book

8. Multiple Warp Book Extractor



Extra Info:




If you are running on 1.14.x you'll need to do 1 step that can't be automated, that's run command below or click on the text message that you'll receive once world load/reload. That Step isn't needed on 1.15

/forceload add 20202020 20202020



By Default, Warps have consumes 1 of XP for each 70 Blocks traveled.

If you want to change it, just do

/scoreboard players set #BlocksPerXp warp <value>
Toggleable Options Available:

book
lectern
title

Description:
The book option will allow/deny a player to teleport by dropping a Warp Book
The lectern option will allow/deny a player to teleport by interacting with a Lectern with a Warp Book inside
The title option will show/hide a action bar showing the position that you'll teleport while holding the book

Every Option Above is Server-wide, not to only one player

To Toggle any option do:




/function warpbook:toggle/<option>


Future Features:




1. Add Multiple Warps Book

2. Scroll instead of Jumps to change Multiple Warp book's list

3. Add Option to Pay with Ender Pearls instead of XP



Known Bugs:



1.16 related bugs:

Lectern works but not regular books, or regular book disapears after teleporting
the init function probably didn't run, pls run the following command/function warpbook:1.16/init

For those that want it to be fixed, I'v been away for a while, but now I'm back on datapack developing

Ofc, you can donate any minimal amount, i'll appreciate it and fix those bugs faster




Feel Free to Donate if you want to ^^
   




Datapack Tested in minecraft 19w14b and Created in minecraft 19w11b
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

14 Update Logs

Update 1.5.8 : 03/06/2021 7:05:50 pmMar 6th

Fixed bugs:

  If you sneak drop your book, and be near it while holding another warp book, it would run as if it got dropped normally
  Cross Dimensional teleports would cause it to run twice and duplicate books
LOAD MORE LOGS

Create an account or sign in to comment.

1
04/15/2021 6:45 am
Level 1 : New Miner
Flabes
Flabes avatar
hello, we get some error messages in the server log.
we can use books in the lectern /working fine), but we cannot craft teleport books or set new warps (right click with book on the point). new warp only possible for operators using "give warpbook" command.
/ function warpbook: 1.16 / init was executed.
Tried Minecraft Snapshots 21w11a and 21w14a.

error: https://pastebin.com/QV0s4sAZ

Thanks for creating this datapack and stay healthy-greetings from germany :-)
1
04/16/2021 1:25 amhistory
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
sorry but minecraft 1.17 added some commands and removed others that I use, and I didn't patch it to be compatible with 1.17 (snapshots) yet, ty for the report and sorry, I don't know when I'm going to fix it tho, if u want a date, up to 2 weeks



most of those errors are intended, besides the commands that changed
1
04/16/2021 6:04 am
Level 1 : New Miner
Flabes
Flabes avatar
hi, okay then i'll "cheat" the needed books for my players.
oh i forgot to say that crafting and set warp point works in 21w11a.

Have a good weekend ;-)
1
04/03/2021 10:14 pm
Level 1 : New Miner
RyanPlayz1247
RyanPlayz1247 avatar
Hello! I wanted to ask how much lag this causes and if it has to perma load chunks.
2
04/04/2021 12:08 am
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
It should cause no lag, since it only runs a few commands, and a few more if u'r holding the book, when teleporting it will run more commands, the math and teleport, but isn't significant

yes, it permanently loads 1 chunk, that will be forceloaded when running this command (should happen automatically, but if don't, pls run it manually)

/function warpbook:1.16/init
2
03/06/2021 4:12 pm
Level 1 : New Miner
woltman
woltman avatar
Hi, just wanted to say "thanks" again for this awesome data pack. I just donated :D It's one of my favorite datapacks, and my server wouldn't be as much fun without it!
1
03/06/2021 7:38 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
Tyvm, it helps a lot, and I'm glad to hear that someone likes it
2
03/06/2021 4:59 pm
Level 1 : New Miner
woltman
woltman avatar
I updated to the newest version (1.5.7) on my server to see if that fixed the issues I was having. Here's what I'm seeing:
  • When dropping a warp, I *do* teleport
  • After the teleport, the warp book disappears :(
  • The lecterns work just fine

I tried it on a new single player world and it worked fine. My server was originally a 1.13 world, and has been upgraded to 1.14->1.15->1.16. Is there something I could try?
2
03/06/2021 7:40 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
I'v updated to fix some bugs, but none related to what u'v said here, also, i'v added a command to the bugs section of this post that might fix your issue, i'v also DM'd u with this command
2
03/07/2021 9:41 am
Level 1 : New Miner
woltman
woltman avatar
Thanks, the new command worked!
1
02/12/2021 5:57 pm
Level 1 : New Miner
BadThinker
BadThinker avatar
I'm using a translator. Please bear with me even if I say something weird. Throwing a warp book moves normally, but unlike the previous version, the book disappears. Could you fix this bug?
1
02/12/2021 11:43 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
what's your game version?
1
02/13/2021 12:12 amhistory
Level 1 : New Miner
BadThinker
BadThinker avatar
My version is 1.16.5. I was originally using the e1860 version, but I changed it to the e240 version recently. Since then, bugs have occurred.
1
03/07/2021 10:00 am
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
I'v found out the problem, it was related to init function not running, pls run it manually, u can check the command near the bottom of the post
1
01/25/2021 7:42 pm
Level 1 : New Miner
woltman
woltman avatar
It seems to be bugged on 1.16.5. Hope a fix can be found.
1
01/25/2021 10:59 pmhistory
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
please, could u be any more specific? I'd appreciate it, plus would help me to find the bug to fix
2
11/03/2020 6:20 pm
Level 1 : New Miner
donavanagor
donavanagor avatar
Having an issue with saving to a multi warp book. When I jump to save to the multi, it and the warp book disappear from my inventory. Nov. 3 2020 latest release 1.16.4
2
10/01/2020 7:06 pm
Level 1 : New Miner
saberslayer
saberslayer avatar
server admin here, in 1.16.3 interdimensional teleportation is wierd. When teleporting from the overworld to the nether or vice versa you will be teleported to a random nearby location and have to spam the book until it takes you to the correct place. As such using teleport links via lecterns is not currently possible. I have tried redownloading the datapack and had no success in fixing the issue. anyone else have this issue and was able to fix it? weve gotten so used to the datapack its hard to play now without it because we used it for all of our infrastructure to travel around the server. Any help would be greatly appreciated
3
08/25/2020 1:08 pm
Level 1 : New Miner
NegativePanda
NegativePanda avatar
Having a issue in 1.16.2 when using a book to teleport you from the nether to the overworld. It teleport s you thousands of block away in overworld.
1
08/20/2020 10:43 am
Level 1 : New Miner
OPdemon
OPdemon avatar
Is there a way to make teleporting free? tried setting the #BlocksperXp value to 0 but didnt do anything.
Im playing single player, no server
1
08/22/2020 1:35 am
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
it's Blocks Per XP, so you should make it higher if u want to pay less XP
2
08/14/2020 8:15 am
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
Jut want to say for folks reading through the comments that the warp books work beautifully in 1.16.1, and that the errors were on my part (i had two copies of an older version of the datapack on my server and neglected to deleted both of them when I updated.) Never the less the creator of the datapack has been very responsive.



Honestly without this datapack I'd be going back to using command block teleports for my players.



Thank you for your hard work.
1
08/07/2020 4:44 am
Level 1 : New Crafter
Frostnova
Frostnova avatar
It's consume XP like "XP" or if it says 1 XP, then I will lose 1 level, even if I have 60+
2
08/07/2020 9:00 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
Experience Points, not levels
1
08/10/2020 4:48 pm
Level 1 : New Crafter
Frostnova
Frostnova avatar
O, cool
1
08/04/2020 7:59 pm
Level 1 : New Miner
saberslayer
saberslayer avatar
Hey Im a server admin and the lectern works but whenever someone tries to throw the book to teleport it gives the chat message of using xp but doesnt teleport them. Is there some way I can fix this on my end or is this a bug with the pack
1
07/26/2020 12:53 pm
Level 20 : Expert Modder
Nerdtality
Nerdtality avatar
Is there a GitHub?
2
07/24/2020 2:25 pm
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
Okay I can verify that the warp book datapack is working! I definitely made a mistake! New books are working as expected.and old books work as expected.
1
07/23/2020 10:42 am
Level 1 : New Miner
User3136962G
User3136962G avatar
just a small suggestion because i love this idea: preventing players from teleporting when there are mobs nearby
1
07/10/2020 7:38 am
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
warp-book-e1860.zip - the problems I've previous described persist in this version.
1
07/10/2020 5:46 pmhistory
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
u can refer by version, when u do /datapack list and hover your mouse on it, should show the version.

since the file name is randomized by planetminecraft

what bug persist? U can check known bugs, from this post, atm the only one I know is the multiple warp book one
1
07/04/2020 9:59 am
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
Okay more on the bug report. in 1.16.1 vanilla june 8 release of this datapack. New teleport books do not work. They say a successful teleport has occurred for 0 xp cost. No teleport happens.This is the case in every dimension regardless of destination.



HOWEVER



all of my teleport books made back in 1.15.2 work just fine.
2
07/05/2020 6:04 pmhistory
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
it's actually weird to work with old books, since the logic to teleport is the same in both, but the nether update also included the possibility to add new dimensions to worlds, and that actually broke my datapack, and I'm having some problems with the patch, since it broke the logic in dimensional teleportations, but I'm trying to fix it



EDIT: Fixed, Patch is On
1
07/10/2020 7:19 am
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
Thank you so much, you rock!
1
07/24/2020 2:17 pm
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
Gah, rel life took over for a bit there. I'm going to try a reinstall of the newest version after reloading with the older version removed. If I have more trouble I will send you the console data as requested.
1
06/27/2020 8:36 amhistory
Level 1 : New Miner
MWC-Volimance
MWC-Volimance avatar
June 8th 2020 release

Warp books do not work in 1.16 (1.16.1) in the nether. When used with "q" to drop the book, the book vanishes, and the message of successful teleport for 0xp is displayed.



They still work in the overworld.

I have yet to test it in the end.
2
06/27/2020 2:31 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
ok, ty, ii'll take a look
1
06/27/2020 6:09 am
Level 1 : New Miner
slycrel
slycrel avatar
Note that after updating to 1.16.1 from 1.15.2, I had to directly use /function warpbook:1.15/loadto get my warp books working again. (1.16 version does not work) A server re-start breaks the books again -- meaning lecterns open the book as if I were crouched, dropping the book does not teleport. Once I re-call that function, they work until the server is re-started. (Didn't test the multi-books) Some books were created after 1.16 and the most recent update, some before the update with 1.15.2.

Would love to not have to run this seeming hack to get my books to work. =)
1
06/27/2020 2:33 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
That's weird, are you using the regular Warp Book?

teleporting from which dimension to which?
1
07/01/2020 7:19 pm
Level 1 : New Miner
slycrel
slycrel avatar
Yeah, I thought it was strange too. Regular warp book, teleporting from an overworld location to the overworld. It's on my java server, don't know if that has an impact or not. It seemed to be fine with 1.15.2... are the data files for each warp book accessable somewhere that I could get for you? Or should we look elsewhere?
2
06/25/2020 4:14 pm
Level 1 : New Miner
Yoshi_man987
Yoshi_man987 avatar
Using 1.16.1, the recipe gives me a barrier
1
06/27/2020 2:30 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
recipe is meant to give u a barrier, but the barrier will get replaced by the correct item, this is a thing we must do, if we don't want to use custom resourcepacks, so we can give u a custom item with custom NBT
2
06/13/2020 4:59 pmhistory
Level 1 : New Crafter
WolfyBuilder
WolfyBuilder avatar
The multiple warp book isn't saving books, it just disappears. It also disappears when trying to scroll through saved warps, though the book is currently empty due to the previously stated bug
2
06/06/2020 5:23 pm
Level 1 : New Crafter
WolfyBuilder
WolfyBuilder avatar
I'm using version 1.16 Pre-release 2, and when I try to use a warp book, it doesn't teleport me. The crafting and saving of warp books works, but not the actual warping
1
06/08/2020 7:03 pm
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
Found the error, I'm uploading a quick fix

The problem was: now that minecraft accepts multiple dimensions (not only the default 3) the dimensions are now strings and not only numbers, so it wasn't being recognized



if the datapack for some reason still not work after that, try disable and re-enable the datapack
1
06/07/2020 11:14 am
Level 51 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
Ok, I'll take a look
1
05/07/2020 8:25 pm
Level 1 : New Explorer
Izuku_midoria
Izuku_midoria avatar
do i craft it in a regulor crafting table
1
05/07/2020 8:21 pm
Level 1 : New Explorer
Izuku_midoria
Izuku_midoria avatar
i cant craft it
1
03/27/2020 6:16 pm
Level 1 : New Miner
Anrky99
Anrky99 avatar
I am playing on 1.15 and I can not get the multiple warp book to craft.
1
03/22/2020 2:23 am
Level 1 : New Miner
Limited_
Limited_ avatar
and it duplicates the warp books , too
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome