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

Show chest contents for boats and minecarts #603

Open
wants to merge 1 commit into
base: 1.19.3
Choose a base branch
from

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