Package net.minecraft

Record Class class_8376.class_8379

java.lang.Object
java.lang.Record
net.minecraft.class_8376.class_8379
Record Components:
random -
newVoteChancePerTick -
optionsPerApproveVote -
optionsPerRepealVote -
durationMinutes -
extraOptionChance -
maxExtraOptions -
voteCost -
alwaysAddOptOutVote -
maxApproveVoteCount -
maxRepealVoteCount -
repealVoteChance -
Enclosing class:
class_8376

public static record class_8376.class_8379(Random random, float newVoteChancePerTick, IntProvider optionsPerApproveVote, IntProvider optionsPerRepealVote, IntProvider durationMinutes, float extraOptionChance, int maxExtraOptions, List<class_8390.class_8391> voteCost, boolean alwaysAddOptOutVote, int maxApproveVoteCount, int maxRepealVoteCount, float repealVoteChance) extends Record
Mappings:
Namespace Name
official bgp$c
intermediary net/minecraft/class_8376$class_8379
named net/minecraft/class_8376$class_8379
official a
intermediary comp_1392
named random
official b
intermediary comp_1393
named newVoteChancePerTick
official c
intermediary comp_1394
named optionsPerApproveVote
official d
intermediary comp_1395
named optionsPerRepealVote
official e
intermediary comp_1396
named durationMinutes
official f
intermediary comp_1397
named extraOptionChance
official g
intermediary comp_1398
named maxExtraOptions
official h
intermediary comp_1399
named voteCost
official i
intermediary comp_1400
named alwaysAddOptOutVote
official j
intermediary comp_1401
named maxApproveVoteCount
official k
intermediary comp_1402
named maxRepealVoteCount
official l
intermediary comp_1403
named repealVoteChance
  • Field Details

    • random

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

      private final float newVoteChancePerTick
      The field for the newVoteChancePerTick record component.
    • optionsPerApproveVote

      private final IntProvider optionsPerApproveVote
      The field for the optionsPerApproveVote record component.
    • optionsPerRepealVote

      private final IntProvider optionsPerRepealVote
      The field for the optionsPerRepealVote record component.
    • durationMinutes

      private final IntProvider durationMinutes
      The field for the durationMinutes record component.
    • extraOptionChance

      private final float extraOptionChance
      The field for the extraOptionChance record component.
    • maxExtraOptions

      private final int maxExtraOptions
      The field for the maxExtraOptions record component.
    • voteCost

      private final List<class_8390.class_8391> voteCost
      The field for the voteCost record component.
    • alwaysAddOptOutVote

      private final boolean alwaysAddOptOutVote
      The field for the alwaysAddOptOutVote record component.
    • maxApproveVoteCount

      private final int maxApproveVoteCount
      The field for the maxApproveVoteCount record component.
    • maxRepealVoteCount

      private final int maxRepealVoteCount
      The field for the maxRepealVoteCount record component.
    • repealVoteChance

      private final float repealVoteChance
      The field for the repealVoteChance record component.
  • Constructor Details

  • Method Details

    • method_50547

      public static class_8376.class_8379 method_50547(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgp$c;a(Lapj;)Lbgp$c;
      intermediary method_50547 Lnet/minecraft/class_8376$class_8379;method_50547(Lnet/minecraft/class_5819;)Lnet/minecraft/class_8376$class_8379;
      named method_50547 Lnet/minecraft/class_8376$class_8379;method_50547(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/class_8376$class_8379;
    • method_50546

      public int method_50546()
      Mappings:
      Namespace Name Mixin selector
      official a Lbgp$c;a()I
      intermediary method_50546 Lnet/minecraft/class_8376$class_8379;method_50546()I
      named method_50546 Lnet/minecraft/class_8376$class_8379;method_50546()I
    • method_50548

      public boolean method_50548()
      Mappings:
      Namespace Name Mixin selector
      official b Lbgp$c;b()Z
      intermediary method_50548 Lnet/minecraft/class_8376$class_8379;method_50548()Z
      named method_50548 Lnet/minecraft/class_8376$class_8379;method_50548()Z
    • method_50549

      public boolean method_50549()
      Mappings:
      Namespace Name Mixin selector
      official c Lbgp$c;c()Z
      intermediary method_50549 Lnet/minecraft/class_8376$class_8379;method_50549()Z
      named method_50549 Lnet/minecraft/class_8376$class_8379;method_50549()Z
    • method_50550

      public boolean method_50550()
      Mappings:
      Namespace Name Mixin selector
      official d Lbgp$c;d()Z
      intermediary method_50550 Lnet/minecraft/class_8376$class_8379;method_50550()Z
      named method_50550 Lnet/minecraft/class_8376$class_8379;method_50550()Z
    • method_50551

      public int method_50551()
      Mappings:
      Namespace Name Mixin selector
      official e Lbgp$c;e()I
      intermediary method_50551 Lnet/minecraft/class_8376$class_8379;method_50551()I
      named method_50551 Lnet/minecraft/class_8376$class_8379;method_50551()I
    • method_50552

      public int method_50552()
      Mappings:
      Namespace Name Mixin selector
      official f Lbgp$c;f()I
      intermediary method_50552 Lnet/minecraft/class_8376$class_8379;method_50552()I
      named method_50552 Lnet/minecraft/class_8376$class_8379;method_50552()I
    • 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
    • newVoteChancePerTick

      public float newVoteChancePerTick()
      Returns the value of the newVoteChancePerTick record component.
      Returns:
      the value of the newVoteChancePerTick record component
    • optionsPerApproveVote

      public IntProvider optionsPerApproveVote()
      Returns the value of the optionsPerApproveVote record component.
      Returns:
      the value of the optionsPerApproveVote record component
    • optionsPerRepealVote

      public IntProvider optionsPerRepealVote()
      Returns the value of the optionsPerRepealVote record component.
      Returns:
      the value of the optionsPerRepealVote record component
    • durationMinutes

      public IntProvider durationMinutes()
      Returns the value of the durationMinutes record component.
      Returns:
      the value of the durationMinutes record component
    • extraOptionChance

      public float extraOptionChance()
      Returns the value of the extraOptionChance record component.
      Returns:
      the value of the extraOptionChance record component
    • maxExtraOptions

      public int maxExtraOptions()
      Returns the value of the maxExtraOptions record component.
      Returns:
      the value of the maxExtraOptions record component
    • voteCost

      public List<class_8390.class_8391> voteCost()
      Returns the value of the voteCost record component.
      Returns:
      the value of the voteCost record component
    • alwaysAddOptOutVote

      public boolean alwaysAddOptOutVote()
      Returns the value of the alwaysAddOptOutVote record component.
      Returns:
      the value of the alwaysAddOptOutVote record component
    • maxApproveVoteCount

      public int maxApproveVoteCount()
      Returns the value of the maxApproveVoteCount record component.
      Returns:
      the value of the maxApproveVoteCount record component
    • maxRepealVoteCount

      public int maxRepealVoteCount()
      Returns the value of the maxRepealVoteCount record component.
      Returns:
      the value of the maxRepealVoteCount record component
    • repealVoteChance

      public float repealVoteChance()
      Returns the value of the repealVoteChance record component.
      Returns:
      the value of the repealVoteChance record component