Class SuppliesHandler

java.lang.Object
com.minecolonies.core.placementhandlers.main.SuppliesHandler
All Implemented Interfaces:
com.ldtteam.structurize.storage.ISurvivalBlueprintHandler

public class SuppliesHandler extends Object implements com.ldtteam.structurize.storage.ISurvivalBlueprintHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • 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 playerArg, 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
  • Field Details

  • Constructor Details

    • SuppliesHandler

      public SuppliesHandler()
  • 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 playerArg, net.minecraft.core.BlockPos blockPos, com.ldtteam.structurize.util.PlacementSettings placementSettings)
      Specified by:
      handle in interface com.ldtteam.structurize.storage.ISurvivalBlueprintHandler