items-can-explode flag

オープン
#1,946 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
game-dev

調査の方向性

この issue にはファイルやテストの名前がありません。まずリージョンフラグの定義と、withers、creepers、ghasts の爆発処理を見つけ、次にドロップアイテムへの影響を追跡します。リージョンレベルの items-can-explode フラグによって、他のエンティティへのダメージを無効化せずに、爆発でアイテムドロップが破壊されないようになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

status:pending type:feature-request
The Problem

If a Wither is given a custom loot table, there is a significant chance that a skull shot just before it's death will blow up the item(s) that it drops. Nether stars are hard-coded to not explode in order to work around this issue, but it doesn't work for other items.
Similarly, creepers and ghasts can blow up items.

A Solution

An items-can-explode flag which, when added to a region, prevent items from being exploded.

Alternatives

Although an explosion-flags-block-entity-damage config option does exist, this prevents damage to all entities including the player and cannot be constrained to only prevent items from blowing up.

Anything Else?

No response

主要言語
Java
スター
944
フォーク
686
平均マージ
4日 7時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EngineHub/WorldGuard のほかの issue

EngineHub/WorldGuard の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。