Class NeoForgePlatformHelper
java.lang.Object
com.mrbysco.chowderexpress.platform.NeoForgePlatformHelper
- All Implemented Interfaces:
com.mrbysco.chowderexpress.platform.services.IPlatformHelper
public class NeoForgePlatformHelper
extends Object
implements com.mrbysco.chowderexpress.platform.services.IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.food.FoodPropertiesgetFoodProperties(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.player.Player player) net.minecraft.world.level.block.state.properties.RailShapegetRailDirection(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) net.minecraft.network.syncher.EntityDataSerializer<Optional<com.mrbysco.chowderexpress.entity.SoupData>>
-
Constructor Details
-
NeoForgePlatformHelper
public NeoForgePlatformHelper()
-
-
Method Details
-
getRailDirection
public net.minecraft.world.level.block.state.properties.RailShape getRailDirection(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) - Specified by:
getRailDirectionin interfacecom.mrbysco.chowderexpress.platform.services.IPlatformHelper
-
getSoupSerializer
public net.minecraft.network.syncher.EntityDataSerializer<Optional<com.mrbysco.chowderexpress.entity.SoupData>> getSoupSerializer()- Specified by:
getSoupSerializerin interfacecom.mrbysco.chowderexpress.platform.services.IPlatformHelper
-
getFoodProperties
public net.minecraft.world.food.FoodProperties getFoodProperties(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.player.Player player) - Specified by:
getFoodPropertiesin interfacecom.mrbysco.chowderexpress.platform.services.IPlatformHelper
-