Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explosion: implemented underwater explosion #6456

Open
wants to merge 4 commits into
base: stable
Choose a base branch
from

Conversation

nicholass003
Copy link
Contributor

Introduction

This PR implements underwater explosion for Underwater TNT

Minecraft.2024-09-21.10-12-07.mp4

Relevant issues

Changes

API changes

Behavioural changes

Backwards compatibility

Follow-up

Tests

I tested this PR by doing the following (tick all that apply):

  • Writing PHPUnit tests (commit these in the tests/phpunit folder)
  • Playtesting using a Minecraft client (provide screenshots or a video)
  • Writing a test plugin (provide the code and sample output)
  • Other (provide details)

@jasonw4331 jasonw4331 added Category: Gameplay Related to Minecraft gameplay experience Status: Insufficiently Tested Type: Enhancement Contributes features or other improvements to PocketMine-MP labels Nov 4, 2024
@dktapps
Copy link
Member

dktapps commented Nov 9, 2024

A better approach might be to allow the constructor to accept a list of BlockTypeTags (or type IDs) that it skips over, and then check those tags (or IDs) when looking at blocks to destroy. That would make it more flexible and enable custom use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Status: Insufficiently Tested Type: Enhancement Contributes features or other improvements to PocketMine-MP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants