Package net.minecraft

Class class_11043


public class class_11043 extends ScreenHandler
Mappings:
Namespace Name
named net/minecraft/class_11043
intermediary net/minecraft/class_11043
official czq
  • Field Details

    • field_58807

      public static final List<Vec2f> field_58807
      Mappings:
      Namespace Name Mixin selector
      named field_58807 Lnet/minecraft/class_11043;field_58807:Ljava/util/List;
      intermediary field_58807 Lnet/minecraft/class_11043;field_58807:Ljava/util/List;
      official m Lczq;m:Ljava/util/List;
    • field_58808

      public static final int field_58808
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58808 Lnet/minecraft/class_11043;field_58808:I
      intermediary field_58808 Lnet/minecraft/class_11043;field_58808:I
      official n Lczq;n:I
    • field_58809

      public static final int field_58809
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58809 Lnet/minecraft/class_11043;field_58809:I
      intermediary field_58809 Lnet/minecraft/class_11043;field_58809:I
      official o Lczq;o:I
    • field_58817

      private static final int field_58817
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58817 Lnet/minecraft/class_11043;field_58817:I
      intermediary field_58817 Lnet/minecraft/class_11043;field_58817:I
      official w Lczq;w:I
    • field_58818

      private static final int field_58818
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58818 Lnet/minecraft/class_11043;field_58818:I
      intermediary field_58818 Lnet/minecraft/class_11043;field_58818:I
      official x Lczq;x:I
    • field_58810

      private final class_11039 field_58810
      Mappings:
      Namespace Name Mixin selector
      named field_58810 Lnet/minecraft/class_11043;field_58810:Lnet/minecraft/class_11039;
      intermediary field_58810 Lnet/minecraft/class_11043;field_58810:Lnet/minecraft/class_11039;
      official p Lczq;p:Lcza;
    • field_58811

      private final ScreenHandlerContext field_58811
      Mappings:
      Namespace Name Mixin selector
      named field_58811 Lnet/minecraft/class_11043;field_58811:Lnet/minecraft/screen/ScreenHandlerContext;
      intermediary field_58811 Lnet/minecraft/class_11043;field_58811:Lnet/minecraft/class_3914;
      official q Lczq;q:Lcyl;
    • field_58812

      private final Consumer<RegistryKey<DimensionOptions>> field_58812
      Mappings:
      Namespace Name Mixin selector
      named field_58812 Lnet/minecraft/class_11043;field_58812:Ljava/util/function/Consumer;
      intermediary field_58812 Lnet/minecraft/class_11043;field_58812:Ljava/util/function/Consumer;
      official r Lczq;r:Ljava/util/function/Consumer;
    • field_58813

      private final List<class_11045> field_58813
      Mappings:
      Namespace Name Mixin selector
      named field_58813 Lnet/minecraft/class_11043;field_58813:Ljava/util/List;
      intermediary field_58813 Lnet/minecraft/class_11043;field_58813:Ljava/util/List;
      official s Lczq;s:Ljava/util/List;
    • field_58814

      private final class_11044 field_58814
      Mappings:
      Namespace Name Mixin selector
      named field_58814 Lnet/minecraft/class_11043;field_58814:Lnet/minecraft/class_11044;
      intermediary field_58814 Lnet/minecraft/class_11043;field_58814:Lnet/minecraft/class_11044;
      official t Lczq;t:Lczr;
    • field_58815

      private final List<class_11041> field_58815
      Mappings:
      Namespace Name Mixin selector
      named field_58815 Lnet/minecraft/class_11043;field_58815:Ljava/util/List;
      intermediary field_58815 Lnet/minecraft/class_11043;field_58815:Ljava/util/List;
      official u Lczq;u:Ljava/util/List;
    • field_58816

      private final List<class_11042> field_58816
      Mappings:
      Namespace Name Mixin selector
      named field_58816 Lnet/minecraft/class_11043;field_58816:Ljava/util/List;
      intermediary field_58816 Lnet/minecraft/class_11043;field_58816:Ljava/util/List;
      official v Lczq;v:Ljava/util/List;
    • field_58819

      private int field_58819
      Mappings:
      Namespace Name Mixin selector
      named field_58819 Lnet/minecraft/class_11043;field_58819:I
      intermediary field_58819 Lnet/minecraft/class_11043;field_58819:I
      official y Lczq;y:I
    • field_58820

      private int field_58820
      Mappings:
      Namespace Name Mixin selector
      named field_58820 Lnet/minecraft/class_11043;field_58820:I
      intermediary field_58820 Lnet/minecraft/class_11043;field_58820:I
      official z Lczq;z:I
    • field_58802

      private int field_58802
      Mappings:
      Namespace Name Mixin selector
      named field_58802 Lnet/minecraft/class_11043;field_58802:I
      intermediary field_58802 Lnet/minecraft/class_11043;field_58802:I
      official A Lczq;A:I
    • field_58803

      private int field_58803
      Mappings:
      Namespace Name Mixin selector
      named field_58803 Lnet/minecraft/class_11043;field_58803:I
      intermediary field_58803 Lnet/minecraft/class_11043;field_58803:I
      official B Lczq;B:I
    • field_58804

      private final Optional<ServerWorld> field_58804
      Mappings:
      Namespace Name Mixin selector
      named field_58804 Lnet/minecraft/class_11043;field_58804:Ljava/util/Optional;
      intermediary field_58804 Lnet/minecraft/class_11043;field_58804:Ljava/util/Optional;
      official C Lczq;C:Ljava/util/Optional;
    • field_58805

      private final Optional<ServerPlayerEntity> field_58805
      Mappings:
      Namespace Name Mixin selector
      named field_58805 Lnet/minecraft/class_11043;field_58805:Ljava/util/Optional;
      intermediary field_58805 Lnet/minecraft/class_11043;field_58805:Ljava/util/Optional;
      official D Lczq;D:Ljava/util/Optional;
    • field_58806

      private final Optional<BlockPos> field_58806
      Mappings:
      Namespace Name Mixin selector
      named field_58806 Lnet/minecraft/class_11043;field_58806:Ljava/util/Optional;
      intermediary field_58806 Lnet/minecraft/class_11043;field_58806:Ljava/util/Optional;
      official E Lczq;E:Ljava/util/Optional;
  • Constructor Details

  • Method Details

    • method_69537

      private void method_69537(List<Integer> list)
      Mappings:
      Namespace Name Mixin selector
      named method_69537 Lnet/minecraft/class_11043;method_69537(Ljava/util/List;)V
      intermediary method_69537 Lnet/minecraft/class_11043;method_69537(Ljava/util/List;)V
      official b Lczq;b(Ljava/util/List;)V
    • method_69539

      public int method_69539()
      Mappings:
      Namespace Name Mixin selector
      named method_69539 Lnet/minecraft/class_11043;method_69539()I
      intermediary method_69539 Lnet/minecraft/class_11043;method_69539()I
      official m Lczq;m()I
    • method_69540

      public int method_69540()
      Mappings:
      Namespace Name Mixin selector
      named method_69540 Lnet/minecraft/class_11043;method_69540()I
      intermediary method_69540 Lnet/minecraft/class_11043;method_69540()I
      official n Lczq;n()I
    • method_69538

      private void method_69538(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      named method_69538 Lnet/minecraft/class_11043;method_69538(Lnet/minecraft/inventory/Inventory;)V
      intermediary method_69538 Lnet/minecraft/class_11043;method_69538(Lnet/minecraft/class_1263;)V
      official c Lczq;c(Lbvu;)V
    • method_69551

      private void method_69551()
      Mappings:
      Namespace Name Mixin selector
      named method_69551 Lnet/minecraft/class_11043;method_69551()V
      intermediary method_69551 Lnet/minecraft/class_11043;method_69551()V
      official y Lczq;y()V
    • method_69552

      private void method_69552()
      Mappings:
      Namespace Name Mixin selector
      named method_69552 Lnet/minecraft/class_11043;method_69552()V
      intermediary method_69552 Lnet/minecraft/class_11043;method_69552()V
      official z Lczq;z()V
    • method_69541

      public boolean method_69541()
      Mappings:
      Namespace Name Mixin selector
      named method_69541 Lnet/minecraft/class_11043;method_69541()Z
      intermediary method_69541 Lnet/minecraft/class_11043;method_69541()Z
      official o Lczq;o()Z
    • method_69525

      public static Optional<class_11109> method_69525(ServerWorld serverWorld, List<class_11109> list, Set<class_11109> set)
      Mappings:
      Namespace Name Mixin selector
      named method_69525 Lnet/minecraft/class_11043;method_69525(Lnet/minecraft/server/world/ServerWorld;Ljava/util/List;Ljava/util/Set;)Ljava/util/Optional;
      intermediary method_69525 Lnet/minecraft/class_11043;method_69525(Lnet/minecraft/class_3218;Ljava/util/List;Ljava/util/Set;)Ljava/util/Optional;
      official a Lczq;a(Last;Ljava/util/List;Ljava/util/Set;)Ljava/util/Optional;
    • method_69518

      private List<class_11109> method_69518()
      Mappings:
      Namespace Name Mixin selector
      named method_69518 Lnet/minecraft/class_11043;method_69518()Ljava/util/List;
      intermediary method_69518 Lnet/minecraft/class_11043;method_69518()Ljava/util/List;
      official A Lczq;A()Ljava/util/List;
    • method_69533

      private class_11109 method_69533(List<class_11109> list, List<class_11109> list2, Random random)
      Mappings:
      Namespace Name Mixin selector
      named method_69533 Lnet/minecraft/class_11043;method_69533(Ljava/util/List;Ljava/util/List;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/class_11109;
      intermediary method_69533 Lnet/minecraft/class_11043;method_69533(Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_5819;)Lnet/minecraft/class_11109;
      official a Lczq;a(Ljava/util/List;Ljava/util/List;Lbbg;)Lfca;
    • method_69519

      private int method_69519()
      Mappings:
      Namespace Name Mixin selector
      named method_69519 Lnet/minecraft/class_11043;method_69519()I
      intermediary method_69519 Lnet/minecraft/class_11043;method_69519()I
      official B Lczq;B()I
    • method_69520

      private void method_69520()
      Mappings:
      Namespace Name Mixin selector
      named method_69520 Lnet/minecraft/class_11043;method_69520()V
      intermediary method_69520 Lnet/minecraft/class_11043;method_69520()V
      official C Lczq;C()V
    • method_69521

      private void method_69521()
      Mappings:
      Namespace Name Mixin selector
      named method_69521 Lnet/minecraft/class_11043;method_69521()V
      intermediary method_69521 Lnet/minecraft/class_11043;method_69521()V
      official D Lczq;D()V
    • method_69542

      public class_11039 method_69542()
      Mappings:
      Namespace Name Mixin selector
      named method_69542 Lnet/minecraft/class_11043;method_69542()Lnet/minecraft/class_11039;
      intermediary method_69542 Lnet/minecraft/class_11043;method_69542()Lnet/minecraft/class_11039;
      official p Lczq;p()Lcza;
    • method_69454

      public void method_69454(List<Integer> list)
      Overrides:
      method_69454 in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named method_69454 Lnet/minecraft/screen/ScreenHandler;method_69454(Ljava/util/List;)V
      intermediary method_69454 Lnet/minecraft/class_1703;method_69454(Ljava/util/List;)V
      official a Lcxy;a(Ljava/util/List;)V
    • method_69526

      protected void method_69526(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      named method_69526 Lnet/minecraft/class_11043;method_69526(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_69526 Lnet/minecraft/class_11043;method_69526(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
      official a Lczq;a(Lasu;Ldcs;)V
    • canUse

      public boolean canUse(PlayerEntity player)
      Returns whether the screen handler can be used.

      Subclasses should call #canUse(ScreenHandlerContext, PlayerEntity, Block)} or implement the check itself. The implementation should check that the player is near the screen handler's source position (e.g. block position) and that the source (e.g. block) is not destroyed.

      Specified by:
      canUse in class ScreenHandler
      Returns:
      whether the screen handler can be used
      Mappings:
      Namespace Name Mixin selector
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_7597 Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
      official b Lcxy;b(Lcuf;)Z
    • onContentChanged

      public void onContentChanged(Inventory inventory)
      Called when a slot's content has changed.

      This is not called by default; subclasses that override this method should also use a custom Inventory whose markDirty method is overridden to call this method as a backing inventory of the slot.

      This can be used to update the output slot when input changes.

      Overrides:
      onContentChanged in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named onContentChanged Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
      intermediary method_7609 Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)V
      official a Lcxy;a(Lbvu;)V
    • method_69522

      private Text method_69522()
      Mappings:
      Namespace Name Mixin selector
      named method_69522 Lnet/minecraft/class_11043;method_69522()Lnet/minecraft/text/Text;
      intermediary method_69522 Lnet/minecraft/class_11043;method_69522()Lnet/minecraft/class_2561;
      official E Lczq;E()Lxi;
    • method_69543

      protected Stream<class_11109> method_69543()
      Mappings:
      Namespace Name Mixin selector
      named method_69543 Lnet/minecraft/class_11043;method_69543()Ljava/util/stream/Stream;
      intermediary method_69543 Lnet/minecraft/class_11043;method_69543()Ljava/util/stream/Stream;
      official q Lczq;q()Ljava/util/stream/Stream;
    • method_69532

      private static boolean method_69532(class_11109 class_11109, Map<class_11112,class_11109> map)
      Mappings:
      Namespace Name Mixin selector
      named method_69532 Lnet/minecraft/class_11043;method_69532(Lnet/minecraft/class_11109;Ljava/util/Map;)Z
      intermediary method_69532 Lnet/minecraft/class_11043;method_69532(Lnet/minecraft/class_11109;Ljava/util/Map;)Z
      official a Lczq;a(Lfca;Ljava/util/Map;)Z
    • quickMove

      public ItemStack quickMove(PlayerEntity player, int slot)
      Quick-moves the stack at slot to other slots of the screen handler that belong to a different inventory or another section of the same inventory. For example, items can be quick-moved between a chest's slots and the player inventory or between the main player inventory and the hotbar.

      Subclasses should call ScreenHandler.insertItem(net.minecraft.item.ItemStack, int, int, boolean), and if the insertion was successful, clear the slot (if the stack is exhausted) or mark it as dirty. See the vanilla subclasses for basic implementation.

      Quick-moving is also known as "shift-clicking" since it's usually triggered using Shift+left click.

      Specified by:
      quickMove in class ScreenHandler
      Parameters:
      slot - the index of the slot to quick-move from
      Returns:
      ItemStack.EMPTY when no stack can be transferred, otherwise the original stack
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named quickMove Lnet/minecraft/screen/ScreenHandler;quickMove(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
      intermediary method_7601 Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
      official b Lcxy;b(Lcuf;I)Ldcs;
    • internalOnSlotClick

      protected void internalOnSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player)
      The actual logic that handles a slot click. Called by (int, int, SlotActionType, PlayerEntity) in a try-catch block that wraps exceptions from this method into a crash report.
      Overrides:
      internalOnSlotClick in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named internalOnSlotClick Lnet/minecraft/screen/ScreenHandler;internalOnSlotClick(IILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_30010 Lnet/minecraft/class_1703;method_30010(IILnet/minecraft/class_1713;Lnet/minecraft/class_1657;)V
      official b Lcxy;b(IILcyj;Lcuf;)V
    • method_69544

      public class_11044 method_69544()
      Mappings:
      Namespace Name Mixin selector
      named method_69544 Lnet/minecraft/class_11043;method_69544()Lnet/minecraft/class_11044;
      intermediary method_69544 Lnet/minecraft/class_11043;method_69544()Lnet/minecraft/class_11044;
      official r Lczq;r()Lczr;
    • method_69545

      public List<class_11045> method_69545()
      Mappings:
      Namespace Name Mixin selector
      named method_69545 Lnet/minecraft/class_11043;method_69545()Ljava/util/List;
      intermediary method_69545 Lnet/minecraft/class_11043;method_69545()Ljava/util/List;
      official s Lczq;s()Ljava/util/List;
    • method_69546

      public List<class_11041> method_69546()
      Mappings:
      Namespace Name Mixin selector
      named method_69546 Lnet/minecraft/class_11043;method_69546()Ljava/util/List;
      intermediary method_69546 Lnet/minecraft/class_11043;method_69546()Ljava/util/List;
      official t Lczq;t()Ljava/util/List;
    • method_69547

      public boolean method_69547()
      Mappings:
      Namespace Name Mixin selector
      named method_69547 Lnet/minecraft/class_11043;method_69547()Z
      intermediary method_69547 Lnet/minecraft/class_11043;method_69547()Z
      official u Lczq;u()Z
    • method_69548

      public boolean method_69548()
      Mappings:
      Namespace Name Mixin selector
      named method_69548 Lnet/minecraft/class_11043;method_69548()Z
      intermediary method_69548 Lnet/minecraft/class_11043;method_69548()Z
      official v Lczq;v()Z
    • method_69549

      public boolean method_69549()
      Mappings:
      Namespace Name Mixin selector
      named method_69549 Lnet/minecraft/class_11043;method_69549()Z
      intermediary method_69549 Lnet/minecraft/class_11043;method_69549()Z
      official w Lczq;w()Z
    • method_69550

      public boolean method_69550()
      Mappings:
      Namespace Name Mixin selector
      named method_69550 Lnet/minecraft/class_11043;method_69550()Z
      intermediary method_69550 Lnet/minecraft/class_11043;method_69550()Z
      official x Lczq;x()Z
    • onClosed

      public void onClosed(PlayerEntity player)
      Called when this screen handler is closed.

      To close a screen handler, call PlayerEntity.closeHandledScreen() on the server instead of this method.

      This drops the cursor stack by default. Subclasses that have slots not backed by a persistent inventory should call ScreenHandler.dropInventory(net.minecraft.entity.player.PlayerEntity, net.minecraft.inventory.Inventory) to drop the stacks.

      Overrides:
      onClosed in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      named onClosed Lnet/minecraft/screen/ScreenHandler;onClosed(Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_7595 Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)V
      official a Lcxy;a(Lcuf;)V