Add methods to find targets for lightning strikes (#6712)

This commit is contained in:
Jakub Žáček
2021-10-08 12:00:03 +02:00
parent 1dd5b0ab8e
commit 2708960eba
3 changed files with 109 additions and 0 deletions

View File

@@ -241,3 +241,6 @@ public net.minecraft.world.entity.projectile.Projectile ownerUUID
public org.bukkit.craftbukkit.scoreboard.CraftScoreboardTranslations
public org.bukkit.craftbukkit.scoreboard.CraftScoreboardTranslations toBukkitSlot(I)Lorg/bukkit/scoreboard/DisplaySlot;
public org.bukkit.craftbukkit.scoreboard.CraftScoreboardTranslations fromBukkitSlot(Lorg/bukkit/scoreboard/DisplaySlot;)I
# Add methods to find targets for lightning strikes
public net.minecraft.server.level.ServerLevel findLightningRod(Lnet/minecraft/core/BlockPos;)Ljava/util/Optional;