Package com.mrbysco.ghastcow.platform
Class FabricPlatformHelper
java.lang.Object
com.mrbysco.ghastcow.platform.FabricPlatformHelper
- All Implemented Interfaces:
com.mrbysco.ghastcow.platform.services.IPlatformHelper
public class FabricPlatformHelper
extends Object
implements com.mrbysco.ghastcow.platform.services.IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelMobGriefing(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity) floatgetBlockFriction(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos ground, net.minecraft.world.entity.Entity entity) net.minecraft.world.entity.EntityType<com.mrbysco.ghastcow.entity.GhastCow>boolean
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
cancelMobGriefing
public boolean cancelMobGriefing(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity) - Specified by:
cancelMobGriefingin interfacecom.mrbysco.ghastcow.platform.services.IPlatformHelper
-
getBlockFriction
public float getBlockFriction(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos ground, net.minecraft.world.entity.Entity entity) - Specified by:
getBlockFrictionin interfacecom.mrbysco.ghastcow.platform.services.IPlatformHelper
-
requiresName
public boolean requiresName()- Specified by:
requiresNamein interfacecom.mrbysco.ghastcow.platform.services.IPlatformHelper
-
getEntityType
public net.minecraft.world.entity.EntityType<com.mrbysco.ghastcow.entity.GhastCow> getEntityType()- Specified by:
getEntityTypein interfacecom.mrbysco.ghastcow.platform.services.IPlatformHelper
-