Class WeightedOre

java.lang.Object
de.ellpeck.actuallyadditions.api.recipe.WeightedOre
All Implemented Interfaces:
net.minecraft.util.random.WeightedEntry

public class WeightedOre extends Object implements net.minecraft.util.random.WeightedEntry
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.util.random.WeightedEntry

    net.minecraft.util.random.WeightedEntry.IntrusiveBase, net.minecraft.util.random.WeightedEntry.Wrapper<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
     
    final net.minecraft.util.random.Weight
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WeightedOre(String name, int weight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.util.random.Weight
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public final String name
    • weight

      public final net.minecraft.util.random.Weight weight
  • Constructor Details

    • WeightedOre

      public WeightedOre(String name, int weight)
  • Method Details

    • getWeight

      public net.minecraft.util.random.Weight getWeight()
      Specified by:
      getWeight in interface net.minecraft.util.random.WeightedEntry