Package net.minecraft
Record Class class_8387
java.lang.Object
java.lang.Record
net.minecraft.class_8387
- Record Components:
approved
-pending
-votes
-totalProposalCount
-
public record class_8387(List<class_8291> approved, Map<UUID,class_8376> pending, class_8374 votes, int totalProposalCount)
extends Record
- Mappings:
Namespace Name official bgt
intermediary net/minecraft/class_8387
named net/minecraft/class_8387
official b
intermediary comp_1411
named approved
official c
intermediary comp_1412
named pending
official d
intermediary comp_1413
named votes
official e
intermediary comp_1414
named totalProposalCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<class_8291>
The field for theapproved
record component.static final com.mojang.serialization.Codec<class_8387>
private final Map<UUID,
class_8376> The field for thepending
record component.private final int
The field for thetotalProposalCount
record component.private final class_8374
The field for thevotes
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8387
(List<class_8291> list, Map<UUID, class_8376> map, class_8374 class_8374, int int2) -
Method Summary
Modifier and TypeMethodDescriptionapproved()
Returns the value of theapproved
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static class_8387
method_50580
(Stream<RegistryEntry.Reference<class_8289>> stream, Map<UUID, class_8376> map, class_8374 class_8374, int int2) pending()
Returns the value of thepending
record component.final String
toString()
Returns a string representation of this record class.int
Returns the value of thetotalProposalCount
record component.votes()
Returns the value of thevotes
record component.
-
Field Details
-
approved
The field for theapproved
record component. -
pending
The field for thepending
record component. -
votes
The field for thevotes
record component. -
totalProposalCount
private final int totalProposalCountThe field for thetotalProposalCount
record component. -
field_44024
- Mappings:
Namespace Name Mixin selector official a
Lbgt;a:Lcom/mojang/serialization/Codec;
intermediary field_44024
Lnet/minecraft/class_8387;field_44024:Lcom/mojang/serialization/Codec;
named field_44024
Lnet/minecraft/class_8387;field_44024:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8387
public class_8387() -
class_8387
-
-
Method Details
-
method_50580
public static class_8387 method_50580(Stream<RegistryEntry.Reference<class_8289>> stream, Map<UUID, class_8376> map, class_8374 class_8374, int int2) - Mappings:
Namespace Name Mixin selector official a
Lbgt;a(Ljava/util/stream/Stream;Ljava/util/Map;Lbgn;I)Lbgt;
intermediary method_50580
Lnet/minecraft/class_8387;method_50580(Ljava/util/stream/Stream;Ljava/util/Map;Lnet/minecraft/class_8374;I)Lnet/minecraft/class_8387;
named method_50580
Lnet/minecraft/class_8387;method_50580(Ljava/util/stream/Stream;Ljava/util/Map;Lnet/minecraft/class_8374;I)Lnet/minecraft/class_8387;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
approved
Returns the value of theapproved
record component.- Returns:
- the value of the
approved
record component
-
pending
Returns the value of thepending
record component.- Returns:
- the value of the
pending
record component
-
votes
Returns the value of thevotes
record component.- Returns:
- the value of the
votes
record component
-
totalProposalCount
public int totalProposalCount()Returns the value of thetotalProposalCount
record component.- Returns:
- the value of the
totalProposalCount
record component
-