Interface IScratchClassType

All Known Implementing Classes:
BlockPosScratchClass, BooleanScratchClass, DirectionScratchClass, ExpressionDefaultParameterSimpleScratchClass, IntegerScratchClass, NullScratchClass, RealScratchClass, ScratchClassType, SimpleParseableScratchClass, SimpleScratchClass, StringScratchClass

public interface IScratchClassType
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends IScratchClass<?,?>>
     
    net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends IScratchClass<?,?>>
     
  • Method Details

    • scratchClassCodec

      com.mojang.serialization.MapCodec<? extends IScratchClass<?,?>> scratchClassCodec()
    • scratchClassStreamCodec

      net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends IScratchClass<?,?>> scratchClassStreamCodec()