Modifier and Type | Method and Description |
---|---|
protected <T extends java.lang.Comparable<T>> |
StatePropertiesPredicate.ExactMatcher.func_225554_a_(IStateHolder<?> p_225554_1_,
IProperty<T> p_225554_2_) |
protected abstract <T extends java.lang.Comparable<T>> |
StatePropertiesPredicate.Matcher.func_225554_a_(IStateHolder<?> p_225554_1_,
IProperty<T> p_225554_2_) |
protected <T extends java.lang.Comparable<T>> |
StatePropertiesPredicate.RangedMacher.func_225554_a_(IStateHolder<?> p_225554_1_,
IProperty<T> p_225554_2_) |
StatePropertiesPredicate.Builder |
StatePropertiesPredicate.Builder.withBoolProp(IProperty<java.lang.Boolean> p_227195_1_,
boolean p_227195_2_) |
StatePropertiesPredicate.Builder |
StatePropertiesPredicate.Builder.withIntProp(IProperty<java.lang.Integer> p_227192_1_,
int p_227192_2_) |
<T extends java.lang.Comparable<T> & IStringSerializable> |
StatePropertiesPredicate.Builder.withProp(IProperty<T> p_227193_1_,
T p_227193_2_) |
StatePropertiesPredicate.Builder |
StatePropertiesPredicate.Builder.withStringProp(IProperty<?> p_227194_1_,
java.lang.String p_227194_2_) |
Modifier and Type | Method and Description |
---|---|
abstract IProperty<RailShape> |
AbstractRailBlock.getShapeProperty() |
IProperty<RailShape> |
PoweredRailBlock.getShapeProperty() |
IProperty<RailShape> |
RailBlock.getShapeProperty() |
IProperty<RailShape> |
DetectorRailBlock.getShapeProperty() |
Constructor and Description |
---|
BlockState(Block blockIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IProperty<?>,java.util.function.Predicate<java.lang.Object>> |
BlockStateMatcher.propertyPredicates |
Modifier and Type | Method and Description |
---|---|
protected <T extends java.lang.Comparable<T>> |
BlockStateMatcher.matches(BlockState blockState,
IProperty<T> property,
java.util.function.Predicate<java.lang.Object> predicate) |
<V extends java.lang.Comparable<V>> |
BlockStateMatcher.where(IProperty<V> property,
java.util.function.Predicate<java.lang.Object> is) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
DebugOverlayGui.getPropertyString(java.util.Map.Entry<IProperty<?>,java.lang.Comparable<?>> entryIn) |
Modifier and Type | Method and Description |
---|---|
private static <T extends java.lang.Comparable<T>> |
BlockModelShapes.getPropertyValueString(IProperty<T> property,
java.lang.Comparable<?> value) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
BlockModelShapes.getPropertyMapString(java.util.Map<IProperty<?>,java.lang.Comparable<?>> propertyValues) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Block,java.util.Set<IProperty<?>>> |
BlockColors.colorStates |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IProperty<?>> |
BlockColors.getColorProperties(Block blockIn) |
Modifier and Type | Method and Description |
---|---|
private void |
BlockColors.addColorState(IProperty<?> propertyIn,
Block... blocksIn) |
Modifier and Type | Method and Description |
---|---|
private void |
BlockColors.addColorStates(java.util.Set<IProperty<?>> propertiesIn,
Block... blocksIn) |
Modifier and Type | Method and Description |
---|---|
(package private) static <T extends java.lang.Comparable<T>> |
ModelBakery.parseValue(IProperty<T> property,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<java.lang.Object> |
ModelBakery.ModelListWrapper.getColorValues(BlockState blockStateIn,
java.util.Collection<IProperty<?>> propertiesIn) |
static ModelBakery.ModelListWrapper |
ModelBakery.ModelListWrapper.makeWrapper(BlockState blockStateIn,
IUnbakedModel modelIn,
java.util.Collection<IProperty<?>> propertiesIn) |
static ModelBakery.ModelListWrapper |
ModelBakery.ModelListWrapper.makeWrapper(BlockState blockStateIn,
Multipart multipartIn,
java.util.Collection<IProperty<?>> propertiesIn) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Predicate<BlockState> |
PropertyValueCondition.func_212485_a(StateContainer<Block,BlockState> p_212485_1_,
IProperty<?> p_212485_2_,
java.lang.String p_212485_3_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
ItemParser.field_197336_d |
private java.util.Set<IProperty<?>> |
BlockStateInput.properties |
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
BlockStateParser.properties |
private java.util.Set<IProperty<?>> |
BlockPredicateArgument.BlockPredicate.properties |
Modifier and Type | Method and Description |
---|---|
java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
BlockStateParser.getProperties() |
Modifier and Type | Method and Description |
---|---|
private <T extends java.lang.Comparable<T>> |
BlockStateParser.parseValue(IProperty<T> property,
java.lang.String value,
int valuePosition) |
private static <T extends java.lang.Comparable<T>> |
BlockStateParser.propValToString(java.lang.StringBuilder builder,
IProperty<T> property,
java.lang.Comparable<?> value) |
private static <T extends java.lang.Comparable<T>> |
BlockStateParser.suggestValue(com.mojang.brigadier.suggestion.SuggestionsBuilder builder,
IProperty<T> property) |
Constructor and Description |
---|
BlockPredicate(BlockState stateIn,
java.util.Set<IProperty<?>> propertiesIn,
CompoundNBT nbtIn) |
BlockStateInput(BlockState stateIn,
java.util.Set<IProperty<?>> propertiesIn,
CompoundNBT nbtIn) |
Modifier and Type | Method and Description |
---|---|
protected static <T extends java.lang.Comparable<T> & IStringSerializable> |
BlockLootTables.droppingWhen(Block p_218562_0_,
IProperty<T> p_218562_1_,
T p_218562_2_) |
Constructor and Description |
---|
FluidState(Fluid p_i48997_1_,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> p_i48997_2_) |
Modifier and Type | Method and Description |
---|---|
private static <T extends java.lang.Comparable<T>> |
DebugStickItem.cycleProperty(BlockState state,
IProperty<T> propertyIn,
boolean backwards) |
private static <T extends java.lang.Comparable<T>> |
DebugStickItem.func_195957_a(BlockState state,
IProperty<T> propertyIn) |
private static <T extends java.lang.Comparable<T>> |
BlockItem.func_219988_a(BlockState p_219988_0_,
IProperty<T> p_219988_1_,
java.lang.String p_219988_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 <S extends IStateHolder<S>,T extends java.lang.Comparable<T>> |
NBTUtil.setValueHelper(S p_193590_0_,
IProperty<T> p_193590_1_,
java.lang.String p_193590_2_,
CompoundNBT p_193590_3_,
CompoundNBT p_193590_4_) |
Modifier and Type | Class and Description |
---|---|
class |
BooleanProperty |
class |
DirectionProperty |
class |
EnumProperty<T extends java.lang.Enum<T> & IStringSerializable> |
class |
IntegerProperty |
class |
Property<T extends java.lang.Comparable<T>> |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Function<java.util.Map.Entry<IProperty<?>,java.lang.Comparable<?>>,java.lang.String> |
StateHolder.MAP_ENTRY_TO_STRING |
private com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
StateHolder.properties |
private com.google.common.collect.ImmutableSortedMap<java.lang.String,IProperty<?>> |
StateContainer.properties |
private java.util.Map<java.lang.String,IProperty<?>> |
StateContainer.Builder.properties |
private com.google.common.collect.Table<IProperty<?>,java.lang.Comparable<?>,S> |
StateHolder.propertyToStateMap |
Modifier and Type | Method and Description |
---|---|
IProperty<?> |
StateContainer.getProperty(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IProperty<?>> |
StateHolder.getProperties() |
java.util.Collection<IProperty<?>> |
StateContainer.getProperties() |
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
StateHolder.getPropertiesWithValue(IProperty<?> property,
java.lang.Comparable<?> value) |
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
IStateHolder.getValues() |
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
StateHolder.getValues() |
Modifier and Type | Method and Description |
---|---|
StateContainer.Builder<O,S> |
StateContainer.Builder.add(IProperty<?>... propertiesIn) |
<T extends java.lang.Comparable<T>> |
StateHolder.cycle(IProperty<T> property) |
<T extends java.lang.Comparable<T>> |
IStateHolder.get(IProperty<T> property) |
<T extends java.lang.Comparable<T>> |
StateHolder.get(IProperty<T> property) |
static <T extends java.lang.Comparable<T>> |
IStateHolder.getName(IProperty<T> propertyIn,
java.lang.Comparable<?> value) |
private java.util.Map<IProperty<?>,java.lang.Comparable<?>> |
StateHolder.getPropertiesWithValue(IProperty<?> property,
java.lang.Comparable<?> value) |
<T extends java.lang.Comparable<T>> |
StateHolder.has(IProperty<T> property) |
private <T extends java.lang.Comparable<T>> |
StateContainer.Builder.validateProperty(IProperty<T> property) |
<T extends java.lang.Comparable<T>,V extends T> |
IStateHolder.with(IProperty<T> property,
V value) |
<T extends java.lang.Comparable<T>,V extends T> |
StateHolder.with(IProperty<T> property,
V value) |
static <S extends IStateHolder<S>,T extends java.lang.Comparable<T>> |
IStateHolder.withString(S state,
IProperty<T> propertyIn,
java.lang.String propertyNameIn,
java.lang.String inputIn,
java.lang.String valueIn) |
Modifier and Type | Method and Description |
---|---|
void |
StateHolder.buildPropertyValueTable(java.util.Map<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,S> map) |
A |
StateContainer.IFactory.create(O p_create_1_,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> p_create_2_) |
Constructor and Description |
---|
StateContainer(O object,
StateContainer.IFactory<O,S,A> factory,
java.util.Map<java.lang.String,IProperty<?>> propertiesIn) |
StateHolder(O objectIn,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> propertiesIn) |
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.Comparable<T>> |
Util.getValueName(IProperty<T> property,
java.lang.Object value) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IProperty<?>> |
CopyBlockState.field_227544_c_ |
private java.util.Set<IProperty<?>> |
CopyBlockState.Builder.field_227551_b_ |
Modifier and Type | Method and Description |
---|---|
private static <T extends java.lang.Comparable<T>> |
CopyBlockState.func_227546_a_(BlockState p_227546_0_,
IProperty<T> p_227546_1_) |
CopyBlockState.Builder |
CopyBlockState.Builder.func_227552_a_(IProperty<?> p_227552_1_) |
Constructor and Description |
---|
CopyBlockState(ILootCondition[] p_i225890_1_,
Block p_i225890_2_,
java.util.Set<IProperty<?>> p_i225890_3_) |
Modifier and Type | Field and Description |
---|---|
com.google.common.collect.Multimap<IProperty<?>,java.lang.Comparable<?>> |
MultiPartBlockStateBuilder.PartBuilder.conditions |
private java.util.SortedMap<IProperty<?>,java.lang.Comparable<?>> |
VariantBlockStateBuilder.PartialBlockstate.setStates |
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap<IProperty<?>,java.lang.Comparable<?>> |
VariantBlockStateBuilder.PartialBlockstate.getSetStates() |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Comparable<T>> |
MultiPartBlockStateBuilder.PartBuilder.condition(IProperty<T> prop,
T... values)
Set a condition for this part, which consists of a property and a set of
valid values.
|
VariantBlockStateBuilder |
VariantBlockStateBuilder.forAllStatesExcept(java.util.function.Function<BlockState,ConfiguredModel[]> mapper,
IProperty<?>... ignored) |
<T extends java.lang.Comparable<T>> |
VariantBlockStateBuilder.PartialBlockstate.with(IProperty<T> prop,
T value) |
Constructor and Description |
---|
PartialBlockstate(Block owner,
java.util.Map<IProperty<?>,java.lang.Comparable<?>> setStates,
VariantBlockStateBuilder outerBuilder) |