Interface WithKey<V>

All Known Subinterfaces:
CustomRegistryValue<B,T>, Gradient, Interpolation, Ref<V>, Shape
All Known Implementing Classes:
BezierInterpolation, CircleShape, ClientGradient, CompositeInterpolation, CompoundGradient, CubeShape, CuboidShape, CustomRegistryType, CustomRegistryType.Dynamic, CustomRegistryType.Unit, CylinderShape, DataType, EaseIn, EaseOut, EmptyShape, FixedInterpolation, FlatColorGradient, FlipXInterpolation, FlipYInterpolation, InverseInterpolation, JoinedInterpolation, LinearGradient, LinearInterpolation, LineShape, QuadrilaterallyFacedConvexHexahedra, Ref.OfKey, Ref.OfValue, RotatedShape, ScaledInterpolation, SphereShape, VoxelShapeBox

public interface WithKey<V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Comparator<? super WithKey<?>>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.resources.Identifier
    id()
     
    default net.minecraft.resources.ResourceKey<V>
    key()
     
    @Nullable net.minecraft.resources.ResourceKey<V>
     
  • Field Details

  • Method Details

    • optionalKey

      @Nullable @Nullable net.minecraft.resources.ResourceKey<V> optionalKey()
    • key

      default net.minecraft.resources.ResourceKey<V> key()
    • id

      default net.minecraft.resources.Identifier id()