-
-
Notifications
You must be signed in to change notification settings - Fork 414
Update ExprLeashHolder to use Leashable instead of LivingEntity #8241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev/patch
Are you sure you want to change the base?
Changes from all commits
9c1d7e8
f2a9b3e
85313b1
b1408bd
4fe70b7
ef9a222
112b506
3f719e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| test "leash basic": | ||
| spawn a cow at test-location: | ||
| set {_cow} to entity | ||
| spawn a villager at test-location: | ||
| set {_holder} to entity | ||
|
|
||
| leash {_cow} to {_holder} | ||
| unleash {_cow} | ||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should assert that the leash holder of cow is properly set after each line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes this is just a basic template, I was having some trouble with unrelated tests failing after adding this test. Probably some issue with cleanup and state restoring. I'll be adding assertions soon |
||
|
|
||
| delete entity within {_cow} | ||
| delete entity within {_holder} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.