Class CommonGameRuleRegister.GameRuleLazyEntry<T extends net.minecraft.world.level.GameRules.Value<T>>

java.lang.Object
info.u_team.u_team_core.impl.common.CommonGameRuleRegister.GameRuleLazyEntry<T>
All Implemented Interfaces:
LazyEntry<net.minecraft.world.level.GameRules.Key<T>>, Supplier<net.minecraft.world.level.GameRules.Key<T>>
Enclosing class:
CommonGameRuleRegister

public static class CommonGameRuleRegister.GameRuleLazyEntry<T extends net.minecraft.world.level.GameRules.Value<T>> extends Object implements LazyEntry<net.minecraft.world.level.GameRules.Key<T>>
  • Method Details

    • get

      public net.minecraft.world.level.GameRules.Key<T> get()
      Specified by:
      get in interface Supplier<T extends net.minecraft.world.level.GameRules.Value<T>>
    • isPresent

      public boolean isPresent()
      Specified by:
      isPresent in interface LazyEntry<T extends net.minecraft.world.level.GameRules.Value<T>>