Interface IXplatAbstractions


public interface IXplatAbstractions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IXplatAbstractions
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
    getID(net.minecraft.world.item.Item item)
     
    net.minecraft.resources.ResourceLocation
    getID(net.minecraft.world.level.block.Block block)
     
    @Nullable net.minecraft.sounds.SoundEvent
    getSoundByID(net.minecraft.resources.ResourceLocation id)
     
    default void
     
     
    void
    saveRecipeAdvancement(net.minecraft.data.DataGenerator generator, net.minecraft.data.HashCache cache, com.google.gson.JsonObject json, Path path)
     
  • Field Details

  • Method Details

    • platform

      Platform platform()
    • getSoundByID

      @Nullable @Nullable net.minecraft.sounds.SoundEvent getSoundByID(net.minecraft.resources.ResourceLocation id)
    • getID

      net.minecraft.resources.ResourceLocation getID(net.minecraft.world.level.block.Block block)
    • getID

      net.minecraft.resources.ResourceLocation getID(net.minecraft.world.item.Item item)
    • saveRecipeAdvancement

      void saveRecipeAdvancement(net.minecraft.data.DataGenerator generator, net.minecraft.data.HashCache cache, com.google.gson.JsonObject json, Path path)
    • init

      default void init()