Uses of Record Class
net.minecraft.class_12123.class_12124
Packages that use class_12123.class_12124
-
Uses of class_12123.class_12124 in net.minecraft
Fields in net.minecraft with type parameters of type class_12123.class_12124Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_12123.class_12124> class_12123.class_12124.CODECprivate final Optional<class_12123.class_12124> class_12123.damageConditionsThe field for thedamageConditionsrecord component.private final Optional<class_12123.class_12124> class_12123.dismountConditionsThe field for thedismountConditionsrecord component.static final PacketCodec<ByteBuf, class_12123.class_12124> class_12123.class_12124.field_63410private final Optional<class_12123.class_12124> class_12123.knockbackConditionsThe field for theknockbackConditionsrecord component.Methods in net.minecraft that return types with arguments of type class_12123.class_12124Modifier and TypeMethodDescriptionclass_12123.damageConditions()Returns the value of thedamageConditionsrecord component.class_12123.dismountConditions()Returns the value of thedismountConditionsrecord component.class_12123.knockbackConditions()Returns the value of theknockbackConditionsrecord component.static Optional<class_12123.class_12124> class_12123.class_12124.method_75238(int int2, float float2) static Optional<class_12123.class_12124> class_12123.class_12124.method_75240(int int2, float float2) Constructor parameters in net.minecraft with type arguments of type class_12123.class_12124ModifierConstructorDescriptionclass_12123(float minReach, float maxReach, float hitboxMargin, int delayTicks, Optional<class_12123.class_12124> dismountConditions, Optional<class_12123.class_12124> knockbackConditions, Optional<class_12123.class_12124> damageConditions, float forwardMovement, float damageMultiplier, Optional<RegistryEntry<SoundEvent>> sound, Optional<RegistryEntry<SoundEvent>> hitSound) Creates an instance of aclass_12123record class.