Class ContraptionType
java.lang.Object
com.simibubi.create.api.contraption.ContraptionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Supplier<? extends Contraption> final net.minecraft.core.Holder.Reference<ContraptionType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ContraptionLookup the ContraptionType with the given ID, and create a new Contraption from it if present.booleanis(net.minecraft.tags.TagKey<ContraptionType> tag)
-
Field Details
-
factory
-
holder
-
-
Constructor Details
-
ContraptionType
-
-
Method Details
-
is
-
fromType
Lookup the ContraptionType with the given ID, and create a new Contraption from it if present. If it doesn't exist, returns null.
-