Interface GlInfoConsumer


@Environment(CLIENT) public interface GlInfoConsumer
A functional interface with a method to set a key-value pair of information.
See Also:
Snooper.addInitialInfo(java.lang.String, java.lang.Object)
Mappings:
Namespace Name
official dpo
intermediary net/minecraft/class_6184
named net/minecraft/client/util/GlInfoConsumer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setFixedData​(String key, Object value)
    Sets a value associated to a key.
  • Method Details

    • setFixedData

      void setFixedData(String key, Object value)
      Sets a value associated to a key.

      "Fixed" means immutable or static information; it is not related in any way to data fixers.

      Mappings:
      Namespace Name Mixin selector
      official setFixedData Ldpo;setFixedData(Ljava/lang/String;Ljava/lang/Object;)V
      intermediary setFixedData Lnet/minecraft/class_6184;setFixedData(Ljava/lang/String;Ljava/lang/Object;)V
      named setFixedData Lnet/minecraft/client/util/GlInfoConsumer;setFixedData(Ljava/lang/String;Ljava/lang/Object;)V