Schnittstelle GameRuleRegister

Alle Superschnittstellen:
Iterable<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>>
Alle bekannten Implementierungsklassen:
CommonGameRuleRegister, FabricGameRuleRegister

public interface GameRuleRegister extends Iterable<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>>
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static interface 
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     
    default Iterable<net.minecraft.world.level.GameRules.Key<?>>
     
    Collection<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>>
     
    default Iterator<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>>
     
    void
     
    default <T extends net.minecraft.world.level.GameRules.Value<T>>
    LazyEntry<net.minecraft.world.level.GameRules.Key<T>>
    register(String modid, String name, net.minecraft.world.level.GameRules.Category category, Supplier<? extends net.minecraft.world.level.GameRules.Type<T>> type)
     
    <T extends net.minecraft.world.level.GameRules.Value<T>>
    LazyEntry<net.minecraft.world.level.GameRules.Key<T>>
    register(String name, net.minecraft.world.level.GameRules.Category category, Supplier<? extends net.minecraft.world.level.GameRules.Type<T>> type)
     

    Von Schnittstelle geerbte Methoden java.lang.Iterable

    forEach, spliterator
  • Methodendetails

    • create

      static GameRuleRegister create()
    • register

      default <T extends net.minecraft.world.level.GameRules.Value<T>> LazyEntry<net.minecraft.world.level.GameRules.Key<T>> register(String modid, String name, net.minecraft.world.level.GameRules.Category category, Supplier<? extends net.minecraft.world.level.GameRules.Type<T>> type)
    • register

      <T extends net.minecraft.world.level.GameRules.Value<T>> LazyEntry<net.minecraft.world.level.GameRules.Key<T>> register(String name, net.minecraft.world.level.GameRules.Category category, Supplier<? extends net.minecraft.world.level.GameRules.Type<T>> type)
    • register

      void register()
    • getEntries

      Collection<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>> getEntries()
    • iterator

      default Iterator<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>> iterator()
      Angegeben von:
      iterator in Schnittstelle Iterable<LazyEntry<net.minecraft.world.level.GameRules.Key<?>>>
    • entryIterable

      default Iterable<net.minecraft.world.level.GameRules.Key<?>> entryIterable()