Class SurvivalHandler
java.lang.Object
com.minecolonies.core.placementhandlers.main.SurvivalHandler
- All Implemented Interfaces:
com.ldtteam.structurize.storage.ISurvivalBlueprintHandler
public class SurvivalHandler
extends Object
implements com.ldtteam.structurize.storage.ISurvivalBlueprintHandler
Minecolonies survival blueprint handler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(com.ldtteam.structurize.blueprints.v1.Blueprint blueprint, net.minecraft.client.multiplayer.ClientLevel clientLevel, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, com.ldtteam.structurize.api.RotationMirror rotMir) net.minecraft.network.chat.ComponentgetId()voidhandle(com.ldtteam.structurize.blueprints.v1.Blueprint blueprint, String packName, String blueprintPath, boolean clientPack, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, com.ldtteam.structurize.api.RotationMirror rotMir)
-
Constructor Details
-
SurvivalHandler
public SurvivalHandler()
-
-
Method Details
-
getId
- Specified by:
getIdin interfacecom.ldtteam.structurize.storage.ISurvivalBlueprintHandler
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Specified by:
getDisplayNamein interfacecom.ldtteam.structurize.storage.ISurvivalBlueprintHandler
-
canHandle
public boolean canHandle(com.ldtteam.structurize.blueprints.v1.Blueprint blueprint, net.minecraft.client.multiplayer.ClientLevel clientLevel, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, com.ldtteam.structurize.api.RotationMirror rotMir) - Specified by:
canHandlein interfacecom.ldtteam.structurize.storage.ISurvivalBlueprintHandler
-
handle
public void handle(com.ldtteam.structurize.blueprints.v1.Blueprint blueprint, String packName, String blueprintPath, boolean clientPack, net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos blockPos, com.ldtteam.structurize.api.RotationMirror rotMir) - Specified by:
handlein interfacecom.ldtteam.structurize.storage.ISurvivalBlueprintHandler
-