Skip to content

Commit

Permalink
Merge pull request #8 from xii69/master
Browse files Browse the repository at this point in the history
Added ClientboundBlockUpdatePacket
  • Loading branch information
Syrent authored Nov 16, 2024
2 parents 87f8401 + e0f8374 commit 10c5429
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion stickynote-bukkit/stickynote-bukkit-nms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ accessors {
val ClientboundUpdateMobEffectPacket = "net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket"
val ClientboundRemoveMobEffectPacket = "net.minecraft.network.protocol.game.ClientboundRemoveMobEffectPacket"
val ClientboundUpdateAttributesPacket = "net.minecraft.network.protocol.game.ClientboundUpdateAttributesPacket"
val ClientboundBlockUpdatePacket = "net.minecraft.network.protocol.game.ClientboundBlockUpdatePacket"
val ServerboundPlayerActionPacket = "net.minecraft.network.protocol.game.ServerboundPlayerActionPacket"
val ServerboundPlayerActionPacketAction = "net.minecraft.network.protocol.game.ServerboundPlayerActionPacket\$Action"
val ServerboundInteractPacket = "net.minecraft.network.protocol.game.ServerboundInteractPacket"
Expand Down Expand Up @@ -532,6 +533,10 @@ accessors {
constructor(Int::class, Collection::class)
constructor(Int::class, List::class)
}
mapClass(ClientboundBlockUpdatePacket) {
method(BlockState, "getBlockState")
method(BlockPos, "getPos")
}
mapClass(ServerboundPlayerActionPacket) {
methodInferred("getPos", "1.20.4")
methodInferred("getDirection", "1.20.4")
Expand Down Expand Up @@ -1952,4 +1957,4 @@ accessors {
fieldInferred("DATA_IS_IGNITED", "1.16.5")
}

}
}

0 comments on commit 10c5429

Please sign in to comment.