ITEMS/mcl_end: Make dragon egg teleport on punching #119
No reviewers
Labels
No Label
blocker
bug
code quality
confirmed
critical
discussion
high priority
incompatibility
incomplete feature
invalid
low priority
missing feauture
needs testing
packet spam
performance
project
regression
translations
unconfirmed
in review
ready for review
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mineclonia/Mineclonia#119
Loading…
Reference in New Issue
No description provided.
Delete Branch "dragon-egg-teleport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
TRACKING ISSUE: #112
In Minecraft, dragon eggs can not be picked up by punching them. Instead, they teleport.
Solution
This patch adds an
on_punch
handler to themcl_end:dragon_egg
node.The
on_punch
handler seeks an air node nearby and teleports the dragon egg there.Details
This patch is a cherry-pick of MineClone2 commit f65c40f805a7d9311519755a22725c5f4bfb38c9.
Testing Steps
Verify Bug
9f086a9242
, create new world with map generator v7 and the seeddragonegg
.Verify Patch
920ca96764
, create new world with map generator v7 and the seeddragonegg
.To do
e445a82bec
to920ca96764
9f086a9242
, create new world with map generator v7 and the seed dragonegg.NB: Using
920ca96764
, current HEAD for this PR