Class ArrayPropertyDelegate

java.lang.Object
net.minecraft.screen.ArrayPropertyDelegate
All Implemented Interfaces:
PropertyDelegate

public class ArrayPropertyDelegate extends Object implements PropertyDelegate
A PropertyDelegate that is implemented using an int array.
Mappings:
Namespace Name
official cgc
intermediary net/minecraft/class_3919
named net/minecraft/screen/ArrayPropertyDelegate
  • Field Details

    • data

      private final int[] data
      Mappings:
      Namespace Name Mixin selector
      official a Lcgc;a:[I
      intermediary field_17345 Lnet/minecraft/class_3919;field_17345:[I
      named data Lnet/minecraft/screen/ArrayPropertyDelegate;data:[I
  • Constructor Details

    • ArrayPropertyDelegate

      public ArrayPropertyDelegate(int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgc;<init>(I)V
      intermediary <init> Lnet/minecraft/class_3919;<init>(I)V
      named <init> Lnet/minecraft/screen/ArrayPropertyDelegate;<init>(I)V
  • Method Details

    • get

      public int get(int index)
      Specified by:
      get in interface PropertyDelegate
      Mappings:
      Namespace Name Mixin selector
      official a Lcev;a(I)I
      intermediary method_17390 Lnet/minecraft/class_3913;method_17390(I)I
      named get Lnet/minecraft/screen/PropertyDelegate;get(I)I
    • set

      public void set(int index, int value)
      Specified by:
      set in interface PropertyDelegate
      Mappings:
      Namespace Name Mixin selector
      official a Lcev;a(II)V
      intermediary method_17391 Lnet/minecraft/class_3913;method_17391(II)V
      named set Lnet/minecraft/screen/PropertyDelegate;set(II)V
    • size

      public int size()
      Specified by:
      size in interface PropertyDelegate
      Mappings:
      Namespace Name Mixin selector
      official a Lcev;a()I
      intermediary method_17389 Lnet/minecraft/class_3913;method_17389()I
      named size Lnet/minecraft/screen/PropertyDelegate;size()I