Class DoubleBlockProperties.PropertySource.Pair<S>

java.lang.Object
net.minecraft.block.DoubleBlockProperties.PropertySource.Pair<S>
All Implemented Interfaces:
DoubleBlockProperties.PropertySource<S>
Enclosing interface:
DoubleBlockProperties.PropertySource<S>

public static final class DoubleBlockProperties.PropertySource.Pair<S> extends Object implements DoubleBlockProperties.PropertySource<S>
Mappings:
Namespace Name
named net/minecraft/block/DoubleBlockProperties$PropertySource$Pair
intermediary net/minecraft/class_4732$class_4734$class_4735
official did$c$a
  • Field Details

    • first

      private final S first
      Mappings:
      Namespace Name Mixin selector
      named first Lnet/minecraft/block/DoubleBlockProperties$PropertySource$Pair;first:Ljava/lang/Object;
      intermediary field_21787 Lnet/minecraft/class_4732$class_4734$class_4735;field_21787:Ljava/lang/Object;
      official a Ldid$c$a;a:Ljava/lang/Object;
    • second

      private final S second
      Mappings:
      Namespace Name Mixin selector
      named second Lnet/minecraft/block/DoubleBlockProperties$PropertySource$Pair;second:Ljava/lang/Object;
      intermediary field_21788 Lnet/minecraft/class_4732$class_4734$class_4735;field_21788:Ljava/lang/Object;
      official b Ldid$c$a;b:Ljava/lang/Object;
  • Constructor Details

    • Pair

      public Pair(S first, S second)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/DoubleBlockProperties$PropertySource$Pair;<init>(Ljava/lang/Object;Ljava/lang/Object;)V
      intermediary <init> Lnet/minecraft/class_4732$class_4734$class_4735;<init>(Ljava/lang/Object;Ljava/lang/Object;)V
      official <init> Ldid$c$a;<init>(Ljava/lang/Object;Ljava/lang/Object;)V
  • Method Details

    • apply

      public <T> T apply(DoubleBlockProperties.PropertyRetriever<? super S,T> retriever)
      Specified by:
      apply in interface DoubleBlockProperties.PropertySource<S>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/block/DoubleBlockProperties$PropertySource;apply(Lnet/minecraft/block/DoubleBlockProperties$PropertyRetriever;)Ljava/lang/Object;
      intermediary apply Lnet/minecraft/class_4732$class_4734;apply(Lnet/minecraft/class_4732$class_3923;)Ljava/lang/Object;
      official apply Ldid$c;apply(Ldid$b;)Ljava/lang/Object;