Package com.pixelmonmod.api.statue
Class StatueSpecification
java.lang.Object
com.pixelmonmod.api.AbstractSpecification<Pokemon,StatueEntity>
com.pixelmonmod.api.statue.StatueSpecification
- All Implemented Interfaces:
Specification<Pokemon,
,StatueEntity> Cloneable
Implementation of the abstract specification for the
Pokemon
and PixelmonEntity
types for Pixelmon-
Field Summary
Fields inherited from class com.pixelmonmod.api.AbstractSpecification
dataType, minecraftType, originalSpec, requirements
-
Constructor Summary
ConstructorDescriptionStatueSpecification
(String originalSpec, List<Requirement<Pokemon, StatueEntity, ?>> requirements) -
Method Summary
Modifier and TypeMethodDescriptionclone()
create()
Creates an instance of the reforged data objectcreate
(boolean shallow) Creates an instance of the reforged data object
If shallow is true not all fields will be instantiated - shallow should be false by defaultcreate
(net.minecraft.world.level.Level world) Methods inherited from class com.pixelmonmod.api.AbstractSpecification
apply, getRequirement, getRequirements, getValue, matches, toString, write
-
Constructor Details
-
StatueSpecification
public StatueSpecification(String originalSpec, List<Requirement<Pokemon, StatueEntity, ?>> requirements)
-
-
Method Details
-
clone
-
create
Description copied from interface:Specification
Creates an instance of the reforged data object- Returns:
- An instance
-
create
Description copied from interface:Specification
Creates an instance of the reforged data object
If shallow is true not all fields will be instantiated - shallow should be false by default- Returns:
-
create
-