Class CreateCodecs

java.lang.Object
com.simibubi.create.foundation.codec.CreateCodecs

public class CreateCodecs extends Object
  • Field Details

    • INT_STR

      public static final com.mojang.serialization.Codec<Integer> INT_STR
    • ITEM_STACK_HANDLER

      public static final com.mojang.serialization.Codec<net.neoforged.neoforge.items.ItemStackHandler> ITEM_STACK_HANDLER
    • NON_NEGATIVE_DOUBLE

      public static final com.mojang.serialization.Codec<Double> NON_NEGATIVE_DOUBLE
    • POSITIVE_DOUBLE

      public static final com.mojang.serialization.Codec<Double> POSITIVE_DOUBLE
    • FLAT_SIZED_FLUID_INGREDIENT_WITH_TYPE

      public static com.mojang.serialization.Codec<net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient> FLAT_SIZED_FLUID_INGREDIENT_WITH_TYPE
    • SIZED_FLUID_INGREDIENT

      @ScheduledForRemoval(inVersion="1.21.1+ Port") @Deprecated(since="6.0.7", forRemoval=true) public static com.mojang.serialization.Codec<net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient> SIZED_FLUID_INGREDIENT
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • CreateCodecs

      public CreateCodecs()
  • Method Details

    • boundedIntStr

      public static com.mojang.serialization.Codec<Integer> boundedIntStr(int min)