Package com.mrbysco.doaflip.platform
Class FabricPlatformHelper
java.lang.Object
com.mrbysco.doaflip.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the minimum fall distance required for a mob to flip.net.minecraft.nbt.CompoundTaggetPersistentData(net.minecraft.world.entity.LivingEntity livingEntity) Get the persistent data for a living entity.
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
getPersistentData
public net.minecraft.nbt.CompoundTag getPersistentData(net.minecraft.world.entity.LivingEntity livingEntity) Description copied from interface:IPlatformHelperGet the persistent data for a living entity.- Specified by:
getPersistentDatain interfaceIPlatformHelper- Returns:
- The persistent data for the living entity.
-
getMinimumFallDistance
public int getMinimumFallDistance()Description copied from interface:IPlatformHelperGets the minimum fall distance required for a mob to flip.- Specified by:
getMinimumFallDistancein interfaceIPlatformHelper- Returns:
- the configured minimum fall distance.
-