1.21.6 dev
Co-authored-by: Bjarne Koll <git@lynxplay.dev> Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Co-authored-by: Noah van der Aa <ndvdaa@gmail.com> Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
This commit is contained in:
committed by
Nassim Jahnke
parent
39203a65e0
commit
a24f9b204c
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/item/EnderEyeItem.java
|
||||
+++ b/net/minecraft/world/item/EnderEyeItem.java
|
||||
@@ -42,6 +_,11 @@
|
||||
@@ -43,6 +_,11 @@
|
||||
return InteractionResult.SUCCESS;
|
||||
} else {
|
||||
BlockState blockState1 = blockState.setValue(EndPortalFrameBlock.HAS_EYE, true);
|
||||
@@ -12,7 +12,7 @@
|
||||
Block.pushEntitiesUp(blockState, blockState1, level, clickedPos);
|
||||
level.setBlock(clickedPos, blockState1, 2);
|
||||
level.updateNeighbourForOutputSignal(clickedPos, Blocks.END_PORTAL_FRAME);
|
||||
@@ -59,7 +_,27 @@
|
||||
@@ -60,7 +_,27 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
}
|
||||
|
||||
return InteractionResult.SUCCESS;
|
||||
@@ -89,7 +_,11 @@
|
||||
@@ -90,7 +_,11 @@
|
||||
eyeOfEnder.setItem(itemInHand);
|
||||
eyeOfEnder.signalTo(blockPos);
|
||||
eyeOfEnder.signalTo(Vec3.atLowerCornerOf(blockPos));
|
||||
level.gameEvent(GameEvent.PROJECTILE_SHOOT, eyeOfEnder.position(), GameEvent.Context.of(player));
|
||||
- level.addFreshEntity(eyeOfEnder);
|
||||
+ // CraftBukkit start
|
||||
|
||||
Reference in New Issue
Block a user