Skip to content

A ScreenHandler method for processing the logic of inventory slots changes. #2404

Discussion options

You must be logged in to vote

You don't really explain what you are doing.
"Processes the logic of my BlockEntity container" is too vague.

Usually, you handle different behaviours by creating special Slot implementations.
e.g. Look at BrewingStandScreenHandler that has FuelSlot, IngredientSlot and PotionSlots inner classes.

Find a vanilla BlockEntity that does something similar to what you are trying to do and see what it does with its slots.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Intezium
Comment options

Answer selected by Intezium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants