Skip to content

Comments

Show chest contents for boats and minecarts#603

Open
DrManganese wants to merge 1 commit intoMcJtyMods:1.19.3from
DrManganese:feature/show-chest-entity-contents
Open

Show chest contents for boats and minecarts#603
DrManganese wants to merge 1 commit intoMcJtyMods:1.19.3from
DrManganese:feature/show-chest-entity-contents

Conversation

@DrManganese
Copy link

Adds the chest info to net.minecraft.world.entity.vehicle.ContainerEntity entities:

  • Boat with Chest
    image
  • Minecart with Chest
    image
  • Minecart with Hopper
    image

Was able to do some abstraction without duplicating most of the existing code, as both BlockEntity and ContainerEntity are ICapabilityProvider and Container.

Also updated the comments of 'showContentsWithoutSneaking' and 'dontShowContentsUnlessSneaking' config settings to reflect that these vehicle entities can be added as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant