跳到正文

Sender’s Return Policy

A mod that allows you to specify which items/projectiles can reflect redirect-able projectiles such as Ghast fireballs and Breeze wind charges.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Description

Ever wondered why a bare hand can deflect a Ghast fireball? With Sender’s Return Policy, you decide which items or projectiles can redirect incoming attacks! The mod comes ready to play with default settings that make sense! Minecraft defines redirect-able projectiles as the Ghast fireball, Breeze Wind Charge, and Wind Charge.

Features:

  • By default, only melee attacks with these items in the main hand will reflect redirect-able projectiles: Iron Sword, Golden Sword, Diamond Sword, Netherite Sword, Iron Shovel, Golden Shovel, Diamond Shovel, and Netherite Shovel
  • By default, only the following projectile types will reflect redirect-able projectiles: Arrows, Spectral Arrows, Wind Charges, Breeze Wind Charges, and Tridents
  • In-game configuration is available via Mod Menu if installed

Config:

These options can be changed:

  • Whether or not to use datapack tags to define items/projectiles that redirect
  • Whether or not to use configured list options to define items/projectiles that redirect
  • Whether or not to allow any melee attack to redirect as a fallback
  • Whether or not to allow any projectile to redirect another projectile as a fallback
  • The item IDs for which items can redirect projectiles
  • The projectile IDs for which items can redirect projectiles

Default .minecraft/config/sendersreturnpolicy.json:

{
  "useTags": true,
  "useConfigLists": true,
  "fallbackAllowAnyItemToRedirect": false,
  "fallbackAllowAnyProjectileToRedirect": false,
  "redirectingItemIds": [
    "minecraft:iron_sword",
    "minecraft:golden_sword",
    "minecraft:diamond_sword",
    "minecraft:netherite_sword",
    "minecraft:iron_shovel",
    "minecraft:golden_shovel",
    "minecraft:diamond_shovel",
    "minecraft:netherite_shovel"
  ],
  "redirectingProjectileIds": [
    "minecraft:arrow",
    "minecraft:spectral_arrow",
    "minecraft:wind_charge",
    "minecraft:breeze_wind_charge",
    "minecraft:trident"
  ]
}

You can also use a datapack to define which main-hand items and projectiles can redirect. Click here to learn how to create a data pack if you don’t know how.

Projectile Entities that can redirect should be added to a data/sendersreturnpolicy/tags/entity_type/redirects_projectiles.json file.

Example redirects_projectiles.json:

{
  "values": [
      "minecraft:arrow",
      "minecraft:spectral_arrow"
  ]
}

Items that can redirect when held in the main hand should be added to a data/sendersreturnpolicy/tags/item/redirects_projectiles_when_in_main_hand.json file.

Example redirects_projectiles_when_in_main_hand.json:

{
  "values": [
      "minecraft:iron_sword",
      "minecraft:iron_shovel"
  ]
}

Support

If you have a bug report, feature request, or any other type of issue, please post on our GitHub issues page. This is an issues page for all of our mods, so be sure to include the mod’s name and version in your post. We appreciate all feedback!

If you’d like to support development, you can leave a tip at our BuyMeACoffee. Only if it’s within your means- otherwise, using, sharing, and enjoying the mod is support enough. Thank you!

常见问题

Sender’s Return Policy 支持哪些 Minecraft 版本?

Sender’s Return Policy 支持 Minecraft Java 版 1.21.7–1.21.8,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Sender’s Return Policy 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Dented Modding 的其他作品

查看全部 →