Package hiiragi283.ragium.api.data.map
Object RagiumDataMapTypes
-
- All Implemented Interfaces:
public class RagiumDataMapTypesRagiumで使用するDataMapTypeへのアクセス
-
-
Field Summary
Fields Modifier and Type Field Description public final static DataMapType<Block, Integer>FERMENT_SOURCEpublic final static DataMapType<EntityType<?>, HTItemHolderLike<Item>>MOB_HEADpublic final static DataMapType<Fluid, Integer>COOLANTpublic final static DataMapType<Fluid, Integer>MAGMATIC_FUELpublic final static DataMapType<Fluid, Integer>COMBUSTION_FUELpublic final static DataMapType<Fluid, Fraction>FERTILIZERpublic final static DataMapType<Item, Integer>DUPLICATION_COSTpublic final static RagiumDataMapTypesINSTANCE
-
Method Summary
Modifier and Type Method Description final static IntegergetFermentLevel(BlockGetter getter, BlockPos centerPos)final static IntegergetFermentLevel(BlockState state)final static ItemStackgetMobHead(Entity entity)指定したentityからエンチャントでドロップするモブの頭を取得します。 final static IntegergetCoolantAmount(HTFluidResourceType resource)指定したresourceから,一度の処理に必要な冷却材の使用量を取得します。 final static IntegergetTimeFromMagmatic(HTFluidResourceType resource)指定したresourceから,100 mbの高温の液体による燃焼時間を取得します。 final static IntegergetTimeFromCombustion(HTFluidResourceType resource)指定したresourceから,100 mbの液体燃料による燃焼時間を取得します。 final static FractiongetFluidFertilizer(HTFluidResourceType resource)-
-
Method Detail
-
getFermentLevel
final static Integer getFermentLevel(BlockGetter getter, BlockPos centerPos)
-
getFermentLevel
final static Integer getFermentLevel(BlockState state)
-
getMobHead
final static ItemStack getMobHead(Entity entity)
指定したentityからエンチャントでドロップするモブの頭を取得します。
-
getCoolantAmount
final static Integer getCoolantAmount(HTFluidResourceType resource)
指定したresourceから,一度の処理に必要な冷却材の使用量を取得します。
-
getTimeFromMagmatic
final static Integer getTimeFromMagmatic(HTFluidResourceType resource)
指定したresourceから,100 mbの高温の液体による燃焼時間を取得します。
-
getTimeFromCombustion
final static Integer getTimeFromCombustion(HTFluidResourceType resource)
指定したresourceから,100 mbの液体燃料による燃焼時間を取得します。
-
getFluidFertilizer
final static Fraction getFluidFertilizer(HTFluidResourceType resource)
-
-
-
-