Interface CustomRegistryValue<B extends io.netty.buffer.ByteBuf, T>

All Superinterfaces:
CustomRegistryOwnTypeProvider<B,T>, RefOptimizer<T>, WithKey<T>
All Known Subinterfaces:
Gradient, Interpolation, Shape
All Known Implementing Classes:
BezierInterpolation, CircleShape, ClientGradient, CompositeInterpolation, CompoundGradient, CubeShape, CuboidShape, CylinderShape, DataType, EaseIn, EaseOut, EmptyShape, FixedInterpolation, FlatColorGradient, FlipXInterpolation, FlipYInterpolation, InverseInterpolation, JoinedInterpolation, LinearGradient, LinearInterpolation, LineShape, QuadrilaterallyFacedConvexHexahedra, RotatedShape, ScaledInterpolation, SphereShape, VoxelShapeBox

public interface CustomRegistryValue<B extends io.netty.buffer.ByteBuf, T> extends WithKey<T>, RefOptimizer<T>, CustomRegistryOwnTypeProvider<B,T>
  • Method Details

    • getRegistry

      CustomRegistry<B,T> getRegistry()
    • optionalKey

      @Nullable default @Nullable net.minecraft.resources.ResourceKey<T> optionalKey()
      Specified by:
      optionalKey in interface WithKey<B extends io.netty.buffer.ByteBuf>
    • ref

      default Ref<T> ref()