Package at.petrak.hexcasting.api.casting
Class PatternShapeMatch.PerWorld
java.lang.Object
at.petrak.hexcasting.api.casting.PatternShapeMatch
at.petrak.hexcasting.api.casting.PatternShapeMatch.PerWorld
- Enclosing class:
- PatternShapeMatch
The pattern is the right shape to be one of the per-world patterns.
On the server, certain means whether this is an exact match, or if it's just the
right shape. (In other words it should only actually be casted if it is true.)
On the client, it is always false.
-
Nested Class Summary
Nested classes/interfaces inherited from class at.petrak.hexcasting.api.casting.PatternShapeMatch
PatternShapeMatch.Normal, PatternShapeMatch.Nothing, PatternShapeMatch.PerWorld, PatternShapeMatch.Special -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal net.minecraft.resources.ResourceKey<ActionRegistryEntry> -
Constructor Summary
ConstructorsConstructorDescriptionPerWorld(net.minecraft.resources.ResourceKey<ActionRegistryEntry> key, boolean certain) -
Method Summary
-
Field Details
-
key
-
certain
public final boolean certain
-
-
Constructor Details
-
PerWorld
-