Uses of Record Class
com.hypixel.hytale.server.core.modules.entity.player.PlayerSettings
Packages that use PlayerSettings
Package
Description
-
Uses of PlayerSettings in com.hypixel.hytale.server.core.inventory
Methods in com.hypixel.hytale.server.core.inventory with parameters of type PlayerSettingsModifier and TypeMethodDescriptionstatic EquipmentUpdateInventoryUtils.createEquipmentUpdate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerSettings playerSettings, InventoryComponent.Armor armorComponent, InventoryComponent.Utility utilityComponent) Creates anEquipmentUpdatebased on the components from the provided entity.static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up, using the player's configured pickup preferences.static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, PickupLocation overridePickupLocation, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up.static MoveTransaction<ItemStackTransaction> InventoryUtils.moveItemFromCheckToInventory(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer targetContainer, short fromSlotId, int quantity, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Movesquantityof the item atfromSlotIdintargetContainerinto the container determined byInventoryUtils.getContainerForItemPickup(Ref, Item, PlayerSettings, ComponentAccessor)for the item's type.static voidInventory.smartMoveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, SmartMoveType moveType, PlayerSettings settings, ComponentAccessor<EntityStore> accessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidInventoryUtils.smartMoveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, SmartMoveType moveType, PlayerSettings settings, ComponentAccessor<EntityStore> accessor) Performs a smart move of the item atfromSectionId/fromSlotIdaccording tomoveType.Inventory.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.takeAll(Ref, int, PlayerSettings, ComponentAccessor)equivalent.InventoryUtils.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items from the container identified byinventorySectionIdinto the entity's inventory, respecting per-item-type pickup priority viasettings.Inventory.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.InventoryUtils.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items fromfromContainerinto the entity's inventory, respecting per-item-type pickup priority viasettings. -
Uses of PlayerSettings in com.hypixel.hytale.server.core.modules.entity
Methods in com.hypixel.hytale.server.core.modules.entity that return types with arguments of type PlayerSettings -
Uses of PlayerSettings in com.hypixel.hytale.server.core.modules.entity.player
Subclasses with type arguments of type PlayerSettings in com.hypixel.hytale.server.core.modules.entity.playerModifier and TypeClassDescriptionstatic classRe-applies the eraser override when the synced player settings change.Methods in com.hypixel.hytale.server.core.modules.entity.player that return PlayerSettingsMethods in com.hypixel.hytale.server.core.modules.entity.player that return types with arguments of type PlayerSettingsModifier and TypeMethodDescriptionCreativeEraserSystems.OnPlayerSettingsChange.componentType()static ComponentType<EntityStore, PlayerSettings> PlayerSettings.getComponentType()Methods in com.hypixel.hytale.server.core.modules.entity.player with parameters of type PlayerSettingsModifier and TypeMethodDescriptionvoidCreativeEraserSystems.OnPlayerSettingsChange.onComponentAdded(Ref<EntityStore> ref, PlayerSettings component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidCreativeEraserSystems.OnPlayerSettingsChange.onComponentRemoved(Ref<EntityStore> ref, PlayerSettings component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidCreativeEraserSystems.OnPlayerSettingsChange.onComponentSet(Ref<EntityStore> ref, PlayerSettings oldComponent, PlayerSettings newComponent, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) -
Uses of PlayerSettings in com.hypixel.hytale.server.core.modules.entity.system
Subclasses with type arguments of type PlayerSettings in com.hypixel.hytale.server.core.modules.entity.systemMethods in com.hypixel.hytale.server.core.modules.entity.system that return types with arguments of type PlayerSettingsMethods in com.hypixel.hytale.server.core.modules.entity.system with parameters of type PlayerSettingsModifier and TypeMethodDescriptionvoidRespondToHitSystems.OnPlayerSettingsChange.onComponentAdded(Ref<EntityStore> ref, PlayerSettings component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidRespondToHitSystems.OnPlayerSettingsChange.onComponentRemoved(Ref<EntityStore> ref, PlayerSettings component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidRespondToHitSystems.OnPlayerSettingsChange.onComponentSet(Ref<EntityStore> ref, PlayerSettings oldComponent, PlayerSettings newComponent, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer)
InventoryUtils.smartMoveItem(Ref, int, int, int, SmartMoveType, PlayerSettings, ComponentAccessor)equivalent.