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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.food.FoodProperties
    getFoodProperties(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.player.Player player)
     
    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)
     
    net.minecraft.network.syncher.EntityDataSerializer<Optional<com.mrbysco.chowderexpress.entity.SoupData>>
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getRailDirection in interface com.mrbysco.chowderexpress.platform.services.IPlatformHelper
    • getSoupSerializer

      public net.minecraft.network.syncher.EntityDataSerializer<Optional<com.mrbysco.chowderexpress.entity.SoupData>> getSoupSerializer()
      Specified by:
      getSoupSerializer in interface com.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:
      getFoodProperties in interface com.mrbysco.chowderexpress.platform.services.IPlatformHelper