Package hiiragi283.core.common
Class HiiragiCoreAccessImpl
-
- All Implemented Interfaces:
public final class HiiragiCoreAccessImpl extends HiiragiCoreAccess
-
-
Field Summary
Fields Modifier and Type Field Description private final HTMaterialManagermaterialManagerprivate final HTMaterialAccessexistingContentsprivate final HTMaterialAccessregisteredContentsprivate final HTMaterialContents<HTFluidTagPrefix, HTFluidHolderLike<?>>registeredFluids
-
Constructor Summary
Constructors Constructor Description HiiragiCoreAccessImpl()
-
Method Summary
Modifier and Type Method Description HTMaterialManagergetMaterialManager()HTMaterialAccessgetExistingContents()HTMaterialAccessgetRegisteredContents()final HTMaterialContents<HTFluidTagPrefix, HTFluidHolderLike<?>>getRegisteredFluids()HTFluidResourceTypepotionFluid(PotionContents contents, HTBottleType bottleType)<T extends Any> HTTextResult<HTHolderLike.HolderDelegate<T, T>>getFirstHolder(HolderLookup.Provider provider, TagKey<T> tagKey)指定したproviderから,tagKeyに紐づいたHTHolderLikeを取得します。 HTValueInputcreateInput(HolderLookup.Provider provider, JsonObject jsonObject)指定したレジストリとJSONからHTValueInputを作成します。 HTValueInputcreateInput(HolderLookup.Provider provider, CompoundTag compoundTag)指定したレジストリとNBTからHTValueInputを作成します。 HTValueOutputcreateOutput(HolderLookup.Provider provider, JsonObject jsonObject)指定したレジストリとJSONからHTValueOutputを作成します。 HTValueOutputcreateOutput(HolderLookup.Provider provider, CompoundTag compoundTag)指定したレジストリとNBTからHTValueOutputを作成します。 final static UnitclearTagCache(TagsUpdatedEvent event)-
Methods inherited from class hiiragi283.core.api.HiiragiCoreAccess
getMaterialBlock, getMaterialBlockOrItem, getMaterialItem, potionFluid, potionFluid, potionFluid -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMaterialManager
HTMaterialManager getMaterialManager()
-
getExistingContents
HTMaterialAccess getExistingContents()
-
getRegisteredContents
HTMaterialAccess getRegisteredContents()
-
getRegisteredFluids
final HTMaterialContents<HTFluidTagPrefix, HTFluidHolderLike<?>> getRegisteredFluids()
-
potionFluid
HTFluidResourceType potionFluid(PotionContents contents, HTBottleType bottleType)
-
getFirstHolder
<T extends Any> HTTextResult<HTHolderLike.HolderDelegate<T, T>> getFirstHolder(HolderLookup.Provider provider, TagKey<T> tagKey)
指定したproviderから,tagKeyに紐づいたHTHolderLikeを取得します。
- Returns:
-
createInput
HTValueInput createInput(HolderLookup.Provider provider, JsonObject jsonObject)
指定したレジストリとJSONからHTValueInputを作成します。
-
createInput
HTValueInput createInput(HolderLookup.Provider provider, CompoundTag compoundTag)
指定したレジストリとNBTからHTValueInputを作成します。
-
createOutput
HTValueOutput createOutput(HolderLookup.Provider provider, JsonObject jsonObject)
指定したレジストリとJSONからHTValueOutputを作成します。
-
createOutput
HTValueOutput createOutput(HolderLookup.Provider provider, CompoundTag compoundTag)
指定したレジストリとNBTからHTValueOutputを作成します。
-
clearTagCache
final static Unit clearTagCache(TagsUpdatedEvent event)
-
-
-
-