Create a Minecraft Fabric mod for version 1.21.11. Add a new block named "Piston 2" (ID: advanced_piston). It should behave exactly like a normal vanilla piston, but its block push limit must be increased from 12 to 24 blocks. Also, add a sticky version called "Sticky Piston 2" (ID: advanced_sticky_piston) that can also pull and push 24 blocks.
Include custom crafting recipes for both blocks using standard materials.
KodariOct 9 at 9:24 am 1
AdvancedPistonMod
Adds two new piston blocks to Minecraft Fabric 1.21.11: "Piston 2" (advanced_piston) and "Sticky Piston 2" (advanced_sticky_piston). Both function identically to vanilla pistons but with an increased block push/pull limit of 24 blocks instead of 12. Includes custom crafting recipes using standard piston materials, iron ingots, and redstone components. The mod registers both blocks with proper block entities, implements extended piston mechanics, and provides localized names for in-game display.
[Generation stopped]
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code