Skip to content

Block Capturing System#13608

Draft
Owen1212055 wants to merge 15 commits intomainfrom
feat/block-capturing
Draft

Block Capturing System#13608
Owen1212055 wants to merge 15 commits intomainfrom
feat/block-capturing

Conversation

@Owen1212055
Copy link
Member

@Owen1212055 Owen1212055 commented Feb 5, 2026

Fundamental rewrite of how blocks are captured for block place event. Prioritizes vanilla behavior.

Tested Fixes:

any block modification in item interaction counting as block place event (no longer fired):

fixes edge cases required by random block types
fixes edge cases with physics being fired on structure placement despite being canceled

big todos:

  • Dispenser related stuff
  • Bone meal related stuff, we need to pass more context in order to get the tree event properly working

@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Feb 5, 2026
@Owen1212055 Owen1212055 added the publish-pr Enables a workflow to build Paperclip jars on the pull request. label Feb 5, 2026
@papermc-pr-publishing
Copy link

papermc-pr-publishing bot commented Feb 5, 2026

Last updated for: d4895653fa1a6700a5538b4ce1b8f0541db9c24b.

Download the Paperclip jar for this pull request: paper-13608.zip

Maven Publication

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven("https://maven-prs.papermc.io/Paper/pr13608") {
        name = "Maven for PR #13608" // https://github.com/PaperMC/Paper/pull/13608
        mavenContent {
            includeModule("io.papermc.paper", "dev-bundle")
            includeModule("io.papermc.paper", "paper-api")
        }
    }
}

@Toffikk
Copy link
Contributor

Toffikk commented Feb 6, 2026

- if (!(randomSource.nextFloat() >= this.probability)) {
+ if (!(randomSource.nextFloat() >= 1)) {

why was this change made?

@Owen1212055
Copy link
Member Author

@Toffikk It was a temporary change for testing beehive behavior. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-pr Enables a workflow to build Paperclip jars on the pull request.

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

3 participants