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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.util.PlacementSettings placementSettings)
     
    net.minecraft.network.chat.Component
     
     
    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.util.PlacementSettings placementSettings)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SurvivalHandler

      public SurvivalHandler()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface com.ldtteam.structurize.storage.ISurvivalBlueprintHandler
    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
      Specified by:
      getDisplayName in interface com.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.util.PlacementSettings placementSettings)
      Specified by:
      canHandle in interface com.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.util.PlacementSettings placementSettings)
      Specified by:
      handle in interface com.ldtteam.structurize.storage.ISurvivalBlueprintHandler