server/block: Implement the snow layer block#1282
Open
root-nat wants to merge 1 commit into
Open
Conversation
Adds the snow layer block (minecraft:snow_layer), a thin partial covering of snow that may be stacked up to eight layers high. The block scales its collision box with the number of layers (a single layer is passable), may be placed on top of any block with a solid upward face, and stacks an extra layer when more snow is used on it, never converting into a full snow block. Breaking it drops snowballs (one to four, depending on the number of layers) or, with Silk Touch, the layers themselves. It melts a layer at a time in biomes too warm to sustain snow. Melting from a nearby block light source, gravity and snowlogging (covered_bit) are left for a follow-up and marked where relevant. Fixes df-mc#871. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
gl but this aint gettin accepted 🥀 |
Collaborator
tbh it doesn't look bad at all I'll test the PR out later today or tomorrow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the snow layer block (
minecraft:snow_layer), a thin partial covering of snow that can be stacked up to eight layers high.The block follows the existing patterns of similar blocks (
Cake,SeaPickle,Carpet). Only thecovered_bit=falsestates are registered; snowlogging (covered_bit), gravity, and melting from a nearby block light source are noted as follow-ups (the last because the world does not currently expose the block light level separately from the sky light).Fixes #871.
🤖 Generated with Claude Code