Skip to content

👟 경작지 내구성 및 짓밟기 보호 메커니즘

바닐라 마인크래프트에서 경작지는 유리처럼 연약하여 살짝 뛰거나 달리기만 해도 흙으로 돌아가며 작물이 파괴됩니다. Agrarian Reform은 현실적인 충격 물리, 맨발 즉시 판정, 대상 엔티티 선별을 갖춘 토양 탄력성 시스템을 제공합니다.


📊 짓밟기 보호 인포박스

PropertySpecification
Mixin Handlernet.instantgratification.agrarianreform.mixin.FarmlandBlockMixin
Logic Helpernet.instantgratification.agrarianreform.util.GrowthHelper
Soft Step Tags#agrarian_reform:soft_step_boots, #c:boots/soft, minecraft:leather_boots
가벼운 발걸음발 방어구에 가벼운 착지(minecraft:feather_falling) 마법부여
Fall Distance Limit$\le 0.6\text{ meters}$
엔티티 선별 규칙agrarian_reform:trample_immunity_players_only (기본값: false)
완전 면제 규칙agrarian_reform:total_trample_immunity (기본값: false)

👟 소프트 스텝 보호 규칙

                       ENTITY FALLS / STEPS ON FARMLAND


                    Is totalTrampleImmunity GameRule true?
                                  ┌────┴────┐
                               YES│         │NO
                                  ▼         ▼
                  Is trampleImmunityPlayersOnly true?  Bare-foot Fast-Fail Check
                                  ┌────┴────┐          (Feet slot empty -> skip enchant lookup)
                               YES│         │NO                     │
                                  ▼         ▼                       ▼
                         Is Player / Tamed? Cancel Trample   Does entity have Soft Step?
                         ┌────────┴────────┐(Farmland Safe)  (#soft_step_boots or Feather Falling)
                      YES│                 │NO                      ┌───────┴───────┐
                         ▼                 ▼                     YES│               │NO
                   Cancel Trample     Normal Trample Logic          ▼               ▼
                   (Farmland Safe)    (Checks Soft Step/Fall) Cancel Trample  Did fall distance
                                                              (Farmland Safe) exceed 0.6m limit?
                                                                                ┌───┴───┐
                                                                             YES│       │NO
                                                                                ▼       ▼
                                                                             Trample  Cancel
                                                                             Dirt!    Trample

1. 보호 신발 및 마법부여

  • 가죽 부츠 및 태그 신발: 가죽 부츠나 #agrarian_reform:soft_step_boots 태그가 붙은 신발을 신으면 걷기, 달리기, 낮은 점프 시 짓밟기가 완전히 면제됩니다.
  • 가벼운 착지: 신발에 레벨에 관계없이 가벼운 착지 마법부여가 있으면 일반 이동 중 경작지 파괴를 방지합니다.
  • 맨발 고속 판정: 신발 슬롯이 비어 있으면 복잡한 NBT 마법부여 검사를 $0.0001\mu\text{s}$ 만에 즉시 건너뜁니다.

2. 낙하 속도 및 충격 높이

경작지 위를 걷거나 달리는 것은 절대 흙을 손상시키지 않습니다. 단, 보호구 없이 0.6m 초과 높이에서 떨어지면 경작지가 파괴됩니다.

3. 플레이어 및 길들인 동물 한정 보호

agrarian_reform:trample_immunity_players_onlytotal_trample_immunity가 함께 활성화되면:

  • 플레이어 및 길들인 동물(늑대, 고양이 등)은 100% 면제 혜택을 받습니다.
  • 적대적 몬스터 및 야생 동물(좀비, 스켈레톤, 주민, 파괴수)은 여전히 작물을 짓밟아 농장 방어의 재미를 유지합니다.

⚙️ GameRule 명령어 제어

bash
# 모든 엔티티의 경작지 짓밟기 완전 면제 활성화
/gamerule agrarian_reform:total_trample_immunity true

# 짓밟기 면제를 플레이어와 길들인 동물로 엄격히 제한
/gamerule agrarian_reform:total_trample_immunity true
/gamerule agrarian_reform:trample_immunity_players_only true

See also: 게임 규칙 (GameRules) 레퍼런스, 심미적 피드백 및 환경 음향, and API 및 애드온 통합.

Official documentation & web portal for Dasik Igaijinn mods.