Class BlockProperty1_12_2<V extends Comparable<V>>

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.block.properties.IProperty<V>>
mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.block.properties.IProperty<V>, V>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.block.BlockProperty1_12_2<V>
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.block.properties.IProperty<V>>

public class BlockProperty1_12_2<V extends Comparable<V>> extends mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.block.properties.IProperty<V>, V>
  • Field Summary

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

    wrapped
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockProperty1_12_2(net.minecraft.block.properties.IProperty<V> property)
     
  • 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

    unwrap
  • Constructor Details

    • BlockProperty1_12_2

      public BlockProperty1_12_2(net.minecraft.block.properties.IProperty<V> property)
  • Method Details

    • asString

      public String asString(V value)
      Specified by:
      asString in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<net.minecraft.block.properties.IProperty<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.block.properties.IProperty<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.block.properties.IProperty<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.block.properties.IProperty<V extends Comparable<V>>, V extends Comparable<V>>