Object HTPhysicalSideHelper

  • All Implemented Interfaces:

    
    public class HTPhysicalSideHelper
    
                        
    Since:

    0.16.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static RegistryAccess getRegistryAccess() 現在のレジストリへのアクセスを取得します。
      final static <T extends Any> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<out Registry<T>> registryKey)
      final static <T extends Any> HolderLookup.RegistryLookup<T> lookupOrThrow(ResourceKey<out Registry<T>> registryKey)
      final static FeatureFlagSet getFeatureFlags() 現在のFeatureFlagSetを取得します。
      final static <T extends FeatureElement> Optional<HolderLookup.RegistryLookup<T>> filteredLookup(ResourceKey<out Registry<T>> registryKey)
      final static <T extends FeatureElement> HolderLookup.RegistryLookup<T> filteredLookupOrThrow(ResourceKey<out Registry<T>> registryKey)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getRegistryAccess

         final static RegistryAccess getRegistryAccess()

        現在のレジストリへのアクセスを取得します。

        Returns:

        クライアント側でワールドを読み込んでいない,またはサーバーのインスタンスが作成されていない場合はnull

      • lookup

         final static <T extends Any> Optional<HolderLookup.RegistryLookup<T>> lookup(ResourceKey<out Registry<T>> registryKey)
      • lookupOrThrow

         final static <T extends Any> HolderLookup.RegistryLookup<T> lookupOrThrow(ResourceKey<out Registry<T>> registryKey)
      • getFeatureFlags

         final static FeatureFlagSet getFeatureFlags()

        現在のFeatureFlagSetを取得します。

        Returns:

        クライアント側でワールドを読み込んでいない,またはサーバーのインスタンスが作成されていない場合はnull

        Since:

        0.16.0

      • filteredLookup

         final static <T extends FeatureElement> Optional<HolderLookup.RegistryLookup<T>> filteredLookup(ResourceKey<out Registry<T>> registryKey)
      • filteredLookupOrThrow

         final static <T extends FeatureElement> HolderLookup.RegistryLookup<T> filteredLookupOrThrow(ResourceKey<out Registry<T>> registryKey)