Modifier and Type | Field and Description |
---|---|
private java.util.Map<IProperty<?>,java.lang.Object> |
PlacedBlockTrigger.Instance.properties |
private java.util.Map<IProperty<?>,java.lang.Object> |
EnterBlockTrigger.Instance.properties |
Constructor and Description |
---|
Instance(Block blockIn,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn) |
Instance(Block block,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn,
LocationPredicate locationIn,
ItemPredicate itemIn) |
Modifier and Type | Method and Description |
---|---|
abstract IProperty<BlockRailBase.EnumRailDirection> |
BlockRailBase.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRail.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRailPowered.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRailDetector.getShapeProperty() |
IProperty<BlockFlower.EnumFlowerType> |
BlockFlower.getTypeProperty() |
IProperty<?> |
BlockStoneSlab.getVariantProperty() |
IProperty<?> |
BlockWoodSlab.getVariantProperty() |
IProperty<?> |
BlockStoneSlabNew.getVariantProperty() |
IProperty<?> |
BlockPurpurSlab.getVariantProperty() |
abstract IProperty<?> |
BlockSlab.getVariantProperty() |
Modifier and Type | Class and Description |
---|---|
class |
PropertyBool |
class |
PropertyDirection |
class |
PropertyEnum<T extends java.lang.Enum<T> & IStringSerializable> |
class |
PropertyHelper<T extends java.lang.Comparable<T>> |
class |
PropertyInteger |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Function<IProperty<?>,java.lang.String> |
BlockStateContainer.GET_NAME_FUNC |
private java.util.List<IProperty<?>> |
BlockStateContainer.Builder.listed |
private static com.google.common.base.Function<java.util.Map.Entry<IProperty<?>,java.lang.Comparable<?>>,java.lang.String> |
BlockStateBase.MAP_ENTRY_TO_STRING |
private com.google.common.collect.ImmutableSortedMap<java.lang.String,IProperty<?>> |
BlockStateContainer.properties |
private com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
BlockStateContainer.StateImplementation.properties |
protected com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> |
BlockStateContainer.StateImplementation.propertyValueTable |
Modifier and Type | Method and Description |
---|---|
IProperty<?> |
BlockStateContainer.getProperty(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IProperty<?>> |
BlockStateContainer.getProperties() |
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
BlockStateContainer.StateImplementation.getProperties() |
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
IBlockState.getProperties() |
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
BlockStateContainer.StateImplementation.getPropertiesWithValue(IProperty<?> property,
java.lang.Comparable<?> value) |
java.util.Collection<IProperty<?>> |
BlockStateContainer.StateImplementation.getPropertyKeys() |
java.util.Collection<IProperty<?>> |
IBlockState.getPropertyKeys() |
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> |
BlockStateBase.getPropertyValueTable() |
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> |
BlockStateContainer.StateImplementation.getPropertyValueTable() |
Modifier and Type | Method and Description |
---|---|
BlockStateContainer.Builder |
BlockStateContainer.Builder.add(IProperty<?>... props) |
<T extends java.lang.Comparable<T>> |
BlockStateBase.cycleProperty(IProperty<T> property) |
<T extends java.lang.Comparable<T>> |
IBlockState.cycleProperty(IProperty<T> property) |
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
BlockStateContainer.StateImplementation.getPropertiesWithValue(IProperty<?> property,
java.lang.Comparable<?> value) |
<T extends java.lang.Comparable<T>> |
BlockStateContainer.StateImplementation.getValue(IProperty<T> property) |
<T extends java.lang.Comparable<T>> |
IBlockState.getValue(IProperty<T> property) |
static <T extends java.lang.Comparable<T>> |
BlockStateContainer.validateProperty(Block block,
IProperty<T> property) |
<T extends java.lang.Comparable<T>,V extends T> |
BlockStateContainer.StateImplementation.withProperty(IProperty<T> property,
V value) |
<T extends java.lang.Comparable<T>,V extends T> |
IBlockState.withProperty(IProperty<T> property,
V value) |
Modifier and Type | Method and Description |
---|---|
void |
BlockStateContainer.StateImplementation.buildPropertyValueTable(java.util.Map<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,BlockStateContainer.StateImplementation> map) |
protected BlockStateContainer.StateImplementation |
BlockStateContainer.createState(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
Constructor and Description |
---|
BlockStateContainer(Block blockIn,
IProperty<?>... properties) |
BlockStateContainer(Block blockIn,
IProperty<?>[] properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
Constructor and Description |
---|
StateImplementation(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn) |
StateImplementation(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> propertyValueTable) |
StateImplementation(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> propertyValueTable) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IProperty<?>,com.google.common.base.Predicate<?>> |
BlockStateMatcher.propertyPredicates |
Modifier and Type | Method and Description |
---|---|
protected <T extends java.lang.Comparable<T>> |
BlockStateMatcher.matches(IBlockState blockState,
IProperty<T> property,
com.google.common.base.Predicate<T> predicate) |
<V extends java.lang.Comparable<V>> |
BlockStateMatcher.where(IProperty<V> property,
com.google.common.base.Predicate<? extends V> is) |
Modifier and Type | Method and Description |
---|---|
private com.google.common.base.Predicate<IBlockState> |
ConditionPropertyValue.makePredicate(IProperty<?> property,
java.lang.String valueIn) |
Modifier and Type | Field and Description |
---|---|
private IProperty<?> |
StateMap.name |
private IProperty<?> |
StateMap.Builder.name |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IProperty<?>> |
StateMap.ignored |
private java.util.List<IProperty<?>> |
StateMap.Builder.ignored |
Modifier and Type | Method and Description |
---|---|
private <T extends java.lang.Comparable<T>> |
StateMapperBase.getPropertyName(IProperty<T> property,
java.lang.Comparable<?> value) |
StateMap.Builder |
StateMap.Builder.ignore(IProperty<?>... ignores) |
private <T extends java.lang.Comparable<T>> |
StateMap.removeName(IProperty<T> property,
java.util.Map<IProperty<?>,java.lang.Comparable<?>> values) |
StateMap.Builder |
StateMap.Builder.withName(IProperty<?> builderPropertyIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StateMapperBase.getPropertyString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> values) |
private <T extends java.lang.Comparable<T>> |
StateMap.removeName(IProperty<T> property,
java.util.Map<IProperty<?>,java.lang.Comparable<?>> values) |
Constructor and Description |
---|
StateMap(IProperty<?> name,
java.lang.String suffix,
java.util.List<IProperty<?>> ignored) |
Constructor and Description |
---|
StateMap(IProperty<?> name,
java.lang.String suffix,
java.util.List<IProperty<?>> ignored) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
CommandBase.getBlockStatePropertyValueMap(Block p_190795_0_,
java.lang.String p_190795_1_) |
Modifier and Type | Method and Description |
---|---|
private static <T extends java.lang.Comparable<T>> |
CommandBase.getBlockState(IBlockState p_190793_0_,
IProperty<T> p_190793_1_,
java.lang.Comparable<?> p_190793_2_) |
private static <T extends java.lang.Comparable<T>> |
CommandBase.getValueHelper(IProperty<T> p_190792_0_,
java.lang.String p_190792_1_) |
Modifier and Type | Method and Description |
---|---|
protected <T extends java.lang.Comparable<T>> |
ItemSlab.makeState(IProperty<T> p_185055_1_,
java.lang.Comparable<?> p_185055_2_) |
Modifier and Type | Method and Description |
---|---|
private static <T extends java.lang.Comparable<T>> |
NBTUtil.getName(IProperty<T> p_190010_0_,
java.lang.Comparable<?> p_190010_1_) |
private static <T extends java.lang.Comparable<T>> |
NBTUtil.setValueHelper(IBlockState p_193590_0_,
IProperty<T> p_193590_1_,
java.lang.String p_193590_2_,
NBTTagCompound p_193590_3_,
NBTTagCompound p_193590_4_) |
Modifier and Type | Field and Description |
---|---|
private IProperty<V> |
Properties.PropertyAdapter.parent |
Modifier and Type | Method and Description |
---|---|
static <V extends java.lang.Comparable<V>> |
Properties.toUnlisted(IProperty<V> property) |
<T extends java.lang.Comparable<T>,V extends T> |
ExtendedBlockState.ExtendedStateImplementation.withProperty(IProperty<T> property,
V value) |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer.StateImplementation |
ExtendedBlockState.createState(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties) |
Constructor and Description |
---|
ExtendedBlockState(Block blockIn,
IProperty<?>[] properties,
IUnlistedProperty<?>[] unlistedProperties) |
PropertyAdapter(IProperty<V> parent) |
Constructor and Description |
---|
ExtendedStateImplementation(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> table,
IBlockState clean) |
ExtendedStateImplementation(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> table,
IBlockState clean) |