Commit Graph

3 Commits

Author SHA1 Message Date
Juuz 4ea8ba7381
Minor fixes (#3504)
* Minor fixes

- Fix casing in the name of GlImportProcessor, fixes #3488
- Use full word "playerInventory" instead of "inv" in
  ScreenHandlerFactory for clarity. The conventions instruct to avoid
  unnecessary abbreviations and this name could be mistaken for the
  inventory of the block that the screen handler is for.
- BlockRenderManager.renderBlockAsEntity: vertexConsumer ->
  vertexConsumers since it's a VertexConsumerProvider

* Rename stack parameter in block breaking methods to tool

Closes #2988. "Tool" more clearly shows what stack the param is supposed
to be.

* Block/AbstractBlockState.isTranslucent -> isTransparent

It's true for any block with a non-full shape as well as
vines, (colourless) glass and plants - none of these are translucent.
2023-02-20 18:43:56 +11:00
apple502j 13bc288ce4
Document ScreenHandler (#3258)
* Document ScreenHandler

* Document more screen handler stuff

* Apply suggestions from code review

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-13 14:37:06 +01:00
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
Renamed from mappings/net/minecraft/container/ContainerFactory.mapping (Browse further)