Class IsCompressedItemAttribute.Type

java.lang.Object
com.petrolpark.compat.create.core.item.IsCompressedItemAttribute.Type
All Implemented Interfaces:
com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType
Enclosing class:
IsCompressedItemAttribute

public static final class IsCompressedItemAttribute.Type extends Object implements com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • createAttribute

      @NotNull public @NotNull com.simibubi.create.content.logistics.item.filter.attribute.ItemAttribute createAttribute()
      Specified by:
      createAttribute in interface com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType
    • getAllAttributes

      public List<com.simibubi.create.content.logistics.item.filter.attribute.ItemAttribute> getAllAttributes(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level)
      Specified by:
      getAllAttributes in interface com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType
    • codec

      public com.mojang.serialization.MapCodec<IsCompressedItemAttribute> codec()
      Specified by:
      codec in interface com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType
    • streamCodec

      public net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,IsCompressedItemAttribute> streamCodec()
      Specified by:
      streamCodec in interface com.simibubi.create.content.logistics.item.filter.attribute.ItemAttributeType