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

Initial v1.19.50 support #162

Merged
merged 12 commits into from Nov 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
104 changes: 104 additions & 0 deletions minecraft/protocol/container.go
@@ -0,0 +1,104 @@
package protocol

const (
ContainerAnvilInput = iota
ContainerAnvilMaterial
ContainerAnvilResultPreview
ContainerSmithingTableInput
ContainerSmithingTableMaterial
ContainerSmithingTableResultPreview
ContainerArmor
ContainerLevelEntity
ContainerBeaconPayment
ContainerBrewingStandInput
ContainerBrewingStandResult
ContainerBrewingStandFuel
ContainerCombinedHotBarAndInventory
ContainerCraftingInput
ContainerCraftingOutputPreview
ContainerRecipeConstruction
ContainerRecipeNature
ContainerRecipeItems
ContainerRecipeSearch
ContainerRecipeSearchBar
ContainerRecipeEquipment
ContainerRecipeBook
ContainerEnchantingInput
ContainerEnchantingMaterial
ContainerFurnaceFuel
ContainerFurnaceIngredient
ContainerFurnaceResult
ContainerHorseEquip
ContainerHotBar
ContainerInventory
ContainerShulkerBox
ContainerTradeIngredientOne
ContainerTradeIngredientTwo
ContainerTradeResultPreview
ContainerOffhand
ContainerCompoundCreatorInput
ContainerCompoundCreatorOutputPreview
ContainerElementConstructorOutputPreview
ContainerMaterialReducerInput
ContainerMaterialReducerOutput
ContainerLabTableInput
ContainerLoomInput
ContainerLoomDye
ContainerLoomMaterial
ContainerLoomResultPreview
ContainerBlastFurnaceIngredient
ContainerSmokerIngredient
ContainerTradeTwoIngredientOne
ContainerTradeTwoIngredientTwo
ContainerTradeTwoResultPreview
ContainerGrindstoneInput
ContainerGrindstoneAdditional
ContainerGrindstoneResultPreview
ContainerStonecutterInput
ContainerStonecutterResultPreview
ContainerCartographyInput
ContainerCartographyAdditional
ContainerCartographyResultPreview
ContainerBarrel
ContainerCursor
ContainerCreatedOutput
)

const (
ContainerTypeInventory = iota - 1
ContainerTypeContainer
ContainerTypeWorkbench
ContainerTypeFurnace
ContainerTypeEnchantment
ContainerTypeBrewingStand
ContainerTypeAnvil
ContainerTypeDispenser
ContainerTypeDropper
ContainerTypeHopper
ContainerTypeCauldron
ContainerTypeCartChest
ContainerTypeCartHopper
ContainerTypeHorse
ContainerTypeBeacon
ContainerTypeStructureEditor
ContainerTypeTrade
ContainerTypeCommandBlock
ContainerTypeJukebox
ContainerTypeArmour
ContainerTypeHand
ContainerTypeCompoundCreator
ContainerTypeElementConstructor
ContainerTypeMaterialReducer
ContainerTypeLabTable
ContainerTypeLoom
ContainerTypeLectern
ContainerTypeGrindstone
ContainerTypeBlastFurnace
ContainerTypeSmoker
ContainerTypeStonecutter
ContainerTypeCartography
ContainerTypeHUD
ContainerTypeJigsawEditor
ContainerTypeSmithingTable
ContainerTypeChestBoat
)