Package net.minecraft

Record Class class_8370.class_8372

java.lang.Object
java.lang.Record
net.minecraft.class_8370.class_8372
Record Components:
random -
requireAtLeastOnePlayer -
playerCount -
quorum -
absoluteMajorityVotes -
showTotals -
showVoters -
pickRandomOnFail -
selectTopVotes -
onlyApplyOptionsWithVotes -
maxSelectedOptions -
tieStrategy -
Enclosing class:
class_8370

public static record class_8370.class_8372(Random random, boolean requireAtLeastOnePlayer, int playerCount, float quorum, float absoluteMajorityVotes, boolean showTotals, boolean showVoters, boolean pickRandomOnFail, boolean selectTopVotes, boolean onlyApplyOptionsWithVotes, int maxSelectedOptions, class_8383 tieStrategy) extends Record
Mappings:
Namespace Name
official bgl$b
intermediary net/minecraft/class_8370$class_8372
named net/minecraft/class_8370$class_8372
official a
intermediary comp_1370
named random
official b
intermediary comp_1371
named requireAtLeastOnePlayer
official c
intermediary comp_1372
named playerCount
official d
intermediary comp_1373
named quorum
official e
intermediary comp_1374
named absoluteMajorityVotes
official f
intermediary comp_1375
named showTotals
official g
intermediary comp_1376
named showVoters
official h
intermediary comp_1377
named pickRandomOnFail
official i
intermediary comp_1378
named selectTopVotes
official j
intermediary comp_1379
named onlyApplyOptionsWithVotes
official k
intermediary comp_1380
named maxSelectedOptions
official l
intermediary comp_1381
named tieStrategy
  • Field Details

    • random

      private final Random random
      The field for the random record component.
    • requireAtLeastOnePlayer

      private final boolean requireAtLeastOnePlayer
      The field for the requireAtLeastOnePlayer record component.
    • playerCount

      private final int playerCount
      The field for the playerCount record component.
    • quorum

      private final float quorum
      The field for the quorum record component.
    • absoluteMajorityVotes

      private final float absoluteMajorityVotes
      The field for the absoluteMajorityVotes record component.
    • showTotals

      private final boolean showTotals
      The field for the showTotals record component.
    • showVoters

      private final boolean showVoters
      The field for the showVoters record component.
    • pickRandomOnFail

      private final boolean pickRandomOnFail
      The field for the pickRandomOnFail record component.
    • selectTopVotes

      private final boolean selectTopVotes
      The field for the selectTopVotes record component.
    • onlyApplyOptionsWithVotes

      private final boolean onlyApplyOptionsWithVotes
      The field for the onlyApplyOptionsWithVotes record component.
    • maxSelectedOptions

      private final int maxSelectedOptions
      The field for the maxSelectedOptions record component.
    • tieStrategy

      private final class_8383 tieStrategy
      The field for the tieStrategy record component.
  • Constructor Details

    • class_8372

      public class_8372(Random random, boolean bool, int int2, float float2, float float3, boolean bool2, boolean bool3, boolean bool4, boolean bool5, boolean bool6, int int3, class_8383 class_8383)
  • Method Details

    • method_50488

      public class_8370.class_8372 method_50488(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl$b;a(Z)Lbgl$b;
      intermediary method_50488 Lnet/minecraft/class_8370$class_8372;method_50488(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50488 Lnet/minecraft/class_8370$class_8372;method_50488(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50485

      public class_8370.class_8372 method_50485(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl$b;a(F)Lbgl$b;
      intermediary method_50485 Lnet/minecraft/class_8370$class_8372;method_50485(F)Lnet/minecraft/class_8370$class_8372;
      named method_50485 Lnet/minecraft/class_8370$class_8372;method_50485(F)Lnet/minecraft/class_8370$class_8372;
    • method_50489

      public class_8370.class_8372 method_50489(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgl$b;b(F)Lbgl$b;
      intermediary method_50489 Lnet/minecraft/class_8370$class_8372;method_50489(F)Lnet/minecraft/class_8370$class_8372;
      named method_50489 Lnet/minecraft/class_8370$class_8372;method_50489(F)Lnet/minecraft/class_8370$class_8372;
    • method_50490

      public class_8370.class_8372 method_50490(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgl$b;b(Z)Lbgl$b;
      intermediary method_50490 Lnet/minecraft/class_8370$class_8372;method_50490(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50490 Lnet/minecraft/class_8370$class_8372;method_50490(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50491

      public class_8370.class_8372 method_50491(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official c Lbgl$b;c(Z)Lbgl$b;
      intermediary method_50491 Lnet/minecraft/class_8370$class_8372;method_50491(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50491 Lnet/minecraft/class_8370$class_8372;method_50491(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50492

      public class_8370.class_8372 method_50492(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official d Lbgl$b;d(Z)Lbgl$b;
      intermediary method_50492 Lnet/minecraft/class_8370$class_8372;method_50492(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50492 Lnet/minecraft/class_8370$class_8372;method_50492(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50493

      public class_8370.class_8372 method_50493(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official e Lbgl$b;e(Z)Lbgl$b;
      intermediary method_50493 Lnet/minecraft/class_8370$class_8372;method_50493(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50493 Lnet/minecraft/class_8370$class_8372;method_50493(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50494

      public class_8370.class_8372 method_50494(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official f Lbgl$b;f(Z)Lbgl$b;
      intermediary method_50494 Lnet/minecraft/class_8370$class_8372;method_50494(Z)Lnet/minecraft/class_8370$class_8372;
      named method_50494 Lnet/minecraft/class_8370$class_8372;method_50494(Z)Lnet/minecraft/class_8370$class_8372;
    • method_50486

      public class_8370.class_8372 method_50486(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl$b;a(I)Lbgl$b;
      intermediary method_50486 Lnet/minecraft/class_8370$class_8372;method_50486(I)Lnet/minecraft/class_8370$class_8372;
      named method_50486 Lnet/minecraft/class_8370$class_8372;method_50486(I)Lnet/minecraft/class_8370$class_8372;
    • method_50487

      public class_8370.class_8372 method_50487(class_8383 class_8383)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl$b;a(Lbgr;)Lbgl$b;
      intermediary method_50487 Lnet/minecraft/class_8370$class_8372;method_50487(Lnet/minecraft/class_8383;)Lnet/minecraft/class_8370$class_8372;
      named method_50487 Lnet/minecraft/class_8370$class_8372;method_50487(Lnet/minecraft/class_8383;)Lnet/minecraft/class_8370$class_8372;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • random

      public Random random()
      Returns the value of the random record component.
      Returns:
      the value of the random record component
    • requireAtLeastOnePlayer

      public boolean requireAtLeastOnePlayer()
      Returns the value of the requireAtLeastOnePlayer record component.
      Returns:
      the value of the requireAtLeastOnePlayer record component
    • playerCount

      public int playerCount()
      Returns the value of the playerCount record component.
      Returns:
      the value of the playerCount record component
    • quorum

      public float quorum()
      Returns the value of the quorum record component.
      Returns:
      the value of the quorum record component
    • absoluteMajorityVotes

      public float absoluteMajorityVotes()
      Returns the value of the absoluteMajorityVotes record component.
      Returns:
      the value of the absoluteMajorityVotes record component
    • showTotals

      public boolean showTotals()
      Returns the value of the showTotals record component.
      Returns:
      the value of the showTotals record component
    • showVoters

      public boolean showVoters()
      Returns the value of the showVoters record component.
      Returns:
      the value of the showVoters record component
    • pickRandomOnFail

      public boolean pickRandomOnFail()
      Returns the value of the pickRandomOnFail record component.
      Returns:
      the value of the pickRandomOnFail record component
    • selectTopVotes

      public boolean selectTopVotes()
      Returns the value of the selectTopVotes record component.
      Returns:
      the value of the selectTopVotes record component
    • onlyApplyOptionsWithVotes

      public boolean onlyApplyOptionsWithVotes()
      Returns the value of the onlyApplyOptionsWithVotes record component.
      Returns:
      the value of the onlyApplyOptionsWithVotes record component
    • maxSelectedOptions

      public int maxSelectedOptions()
      Returns the value of the maxSelectedOptions record component.
      Returns:
      the value of the maxSelectedOptions record component
    • tieStrategy

      public class_8383 tieStrategy()
      Returns the value of the tieStrategy record component.
      Returns:
      the value of the tieStrategy record component