--- a/net/minecraft/world/item/context/UseOnContext.java
+++ b/net/minecraft/world/item/context/UseOnContext.java
@@ -22,7 +_,7 @@
         this(player.level(), player, hand, player.getItemInHand(hand), hitResult);
     }
 
-    protected UseOnContext(Level level, @Nullable Player player, InteractionHand hand, ItemStack itemStack, BlockHitResult hitResult) {
+    public UseOnContext(Level level, @Nullable Player player, InteractionHand hand, ItemStack itemStack, BlockHitResult hitResult) {
         this.player = player;
         this.hand = hand;
         this.hitResult = hitResult;
