π¦ Bookshelf - 3.2.0#
π§± The Block Update!
Introduces new block data and deprecates several older features in preparation for the future.
Bookshelf is now based on Minecraft 1.21.9-1.21.11.
β¨ #403 - Added the
#bs.load:statusfunction to view loaded modules.β‘ #501 - Optimized tp commands used in macros.
β‘ #501 - Reduce NBT writing and remove a few macros.
π #501 - Ensure sculk sensors are not triggered when markers are killed.
π§± bs.block#
ποΈ #489 - Deprecated
play_block_soundin favor of more granular functions (play_break_sound, etc.).β¨ #496 - Added new predicates:
is_conductive,is_powered,is_spawnable,is_strongly_powered, andis_weakly_powered.β¨ #496 - Added new functions:
is_touching_power,is_touching_strong_power, andis_touching_weak_power.β¨ #489 - Added new block property functions:
get_blast_resistance,get_friction,get_hardness,get_instrument,get_jump_factor,get_luminance,get_sounds, andget_speed_factor.β¨ #489 - Added new block sound functions:
play_break_sound,play_hit_sound,play_fall_sound,play_place_sound, andplay_step_sound.β¨ #489 - Added new block tags:
can_occludeandignited_by_lava.β‘ #489 - Modified
emit_block_particleto support a defaulttype, aligning it with the new block sound function behavior.
π― bs.environment#
π #501 - Fixed
look_atfunctions teleporting the player to the current execution position.
π― bs.hitbox#
ποΈ #484 - Block tag
has_offsethas been deprecated and will be removed in a v4.0.0. Please usehas_shape_offsetinstead.ποΈ #484 - Function
#bs.hitbox:get_blockhas been deprecated and will be removed in a v4.0.0. Please use#bs.hitbox:get_block_shapeor#bs.hitbox:get_block_collisioninstead.ποΈ #484 - Functions
#bs.hitbox:is_entity_in_block_interaction,#bs.hitbox:is_entity_in_blocks_interaction, and#bs.hitbox:is_in_block_interactionhave been deprecated and will be removed in a v4.0.0. Please use#bs.hitbox:is_entity_in_block_shape,#bs.hitbox:is_entity_in_blocks_shape, or#bs.hitbox:is_in_block_shapeinstead.β¨ #502 - Added new 1.21.11 entities.
π bs.move#
π¦ bs.raycast#
β¨ #473 - Added custom block hitboxes and improved multi-layer piercing.
π bs.view#
π #498 - Fixed
#bs.view:at_block_placementto match vanilla placement behavior for special blocks such as cauldrons, hoppers, composters, and scaffolding.