Class ForgeXplatImpl

java.lang.Object
at.petrak.paucal.forge.xplat.ForgeXplatImpl
All Implemented Interfaces:
at.petrak.paucal.xplat.IXplatAbstractions

public class ForgeXplatImpl extends Object implements at.petrak.paucal.xplat.IXplatAbstractions
  • Field Summary

    Fields inherited from interface at.petrak.paucal.xplat.IXplatAbstractions

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.sounds.SoundEvent
    getSoundByID(net.minecraft.resources.ResourceLocation id)
     
    at.petrak.paucal.xplat.Platform
     
    void
    saveRecipeAdvancement(net.minecraft.data.DataGenerator generator, net.minecraft.data.CachedOutput cache, com.google.gson.JsonObject json, Path path)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface at.petrak.paucal.xplat.IXplatAbstractions

    getID, getID, init
  • Constructor Details

    • ForgeXplatImpl

      public ForgeXplatImpl()
  • Method Details

    • platform

      public at.petrak.paucal.xplat.Platform platform()
      Specified by:
      platform in interface at.petrak.paucal.xplat.IXplatAbstractions
    • getSoundByID

      @Nullable public @Nullable net.minecraft.sounds.SoundEvent getSoundByID(net.minecraft.resources.ResourceLocation id)
      Specified by:
      getSoundByID in interface at.petrak.paucal.xplat.IXplatAbstractions
    • saveRecipeAdvancement

      public void saveRecipeAdvancement(net.minecraft.data.DataGenerator generator, net.minecraft.data.CachedOutput cache, com.google.gson.JsonObject json, Path path)
      Specified by:
      saveRecipeAdvancement in interface at.petrak.paucal.xplat.IXplatAbstractions