Class BlockProperty1_21<V extends Comparable<V>>

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.world.level.block.state.properties.Property<V>>
mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V>,V>
mods.thecomputerizer.theimpossiblelibrary.shared.v21.common.block.BlockProperty1_21<V>
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.level.block.state.properties.Property<V>>

public class BlockProperty1_21<V extends Comparable<V>> extends mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V>,V>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asString(V value)
     
     
     
    parseValue(String unparsed)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI

    isAllowedValue

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Constructor Details

    • BlockProperty1_21

      public BlockProperty1_21(Object property)
  • Method Details

    • asString

      public String asString(V value)
      Specified by:
      asString in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V extends Comparable<V>>,V extends Comparable<V>>
    • getAllowedValues

      public Collection<V> getAllowedValues()
      Specified by:
      getAllowedValues in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V extends Comparable<V>>,V extends Comparable<V>>
    • getName

      public String getName()
      Specified by:
      getName in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V extends Comparable<V>>,V extends Comparable<V>>
    • parseValue

      public Optional<V> parseValue(String unparsed)
      Specified by:
      parseValue in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.world.level.block.state.properties.Property<V extends Comparable<V>>,V extends Comparable<V>>