Contents
Class CompanionBlockSpawnerRecipe
java.lang.Object
com.hypixel.hytale.builtin.companionblockspawner.config.CompanionBlockSpawnerRecipe
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, DefaultAssetMap<String, CompanionBlockSpawnerRecipe>>
public class CompanionBlockSpawnerRecipe
extends Object
implements JsonAssetWithMap<String, DefaultAssetMap<String, CompanionBlockSpawnerRecipe>>
A "companion block spawner" recipe: when a
spawner block and all of its
required surrounding blocks are present within radius, the referenced
spawn marker is created, which spawns (and maintains) the companion NPC.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA single requirement: how many blocks matchingCompanionBlockSpawnerRecipe.RequiredBlock.valuemust be present within the recipe radius. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetBuilderCodec<String, CompanionBlockSpawnerRecipe> -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetStore<String, CompanionBlockSpawnerRecipe, DefaultAssetMap<String, CompanionBlockSpawnerRecipe>> getId()double
-
Field Details
-
CODEC
-
-
Method Details
-
getAssetStore
public static AssetStore<String, CompanionBlockSpawnerRecipe, DefaultAssetMap<String, CompanionBlockSpawnerRecipe>> getAssetStore() -
getAssetMap
-
getId
-
getSpawnerBlockTypeKey
-
getRadius
public double getRadius() -
getRequiredBlocks
-
getSpawnMarker
-