PHP 클래스 pocketmine\inventory\CraftingManager

파일 보기 프로젝트 열기: iTXTech/Genisys 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$brewingRecipes BrewingRecipe[]
$furnaceRecipes FurnaceRecipe[]
$recipes pocketmine\inventory\Recipe[]

보호된 프로퍼티들

프로퍼티 타입 설명
$recipeLookup pocketmine\inventory\Recipe[][]

공개 메소드들

메소드 설명
__construct ( boolean $useJson = false )
getFurnaceRecipes ( ) : FurnaceRecipe[]
getRecipe ( UUID $id ) : pocketmine\inventory\Recipe
getRecipes ( ) : pocketmine\inventory\Recipe[]
getRecipesByResult ( Item $item )
matchBrewingRecipe ( Item $input, Item $potion ) : BrewingRecipe
matchFurnaceRecipe ( Item $input ) : FurnaceRecipe
matchRecipe ( ShapelessRecipe $recipe ) : boolean
registerBrewingRecipe ( BrewingRecipe $recipe )
registerFurnaceRecipe ( FurnaceRecipe $recipe )
registerRecipe ( pocketmine\inventory\Recipe $recipe )
registerShapedRecipe ( ShapedRecipe $recipe )
registerShapelessRecipe ( ShapelessRecipe $recipe )
sort ( Item $i1, Item $i2 )

보호된 메소드들

메소드 설명
registerArmor ( )
registerBrewingStand ( )
registerDyes ( )
registerFood ( )
registerFurnace ( )
registerIngots ( )
registerPotions ( )
registerTools ( )
registerWeapons ( )

비공개 메소드들

메소드 설명
createOneIngedientRecipe ( $recipeshape, $resultitem, $resultitemmeta, $resultitemamound, $ingedienttype, $ingredientmeta, $ingredientname, $inventoryType = "" )
sortAndAddRecipesArray ( &$recipes )

메소드 상세

__construct() 공개 메소드

public __construct ( boolean $useJson = false )
$useJson boolean

getFurnaceRecipes() 공개 메소드

public getFurnaceRecipes ( ) : FurnaceRecipe[]
리턴 FurnaceRecipe[]

getRecipe() 공개 메소드

public getRecipe ( UUID $id ) : pocketmine\inventory\Recipe
$id pocketmine\utils\UUID
리턴 pocketmine\inventory\Recipe

getRecipes() 공개 메소드

public getRecipes ( ) : pocketmine\inventory\Recipe[]
리턴 pocketmine\inventory\Recipe[]

getRecipesByResult() 공개 메소드

public getRecipesByResult ( Item $item )
$item pocketmine\item\Item

matchBrewingRecipe() 공개 메소드

public matchBrewingRecipe ( Item $input, Item $potion ) : BrewingRecipe
$input pocketmine\item\Item
$potion pocketmine\item\Item
리턴 BrewingRecipe

matchFurnaceRecipe() 공개 메소드

public matchFurnaceRecipe ( Item $input ) : FurnaceRecipe
$input pocketmine\item\Item
리턴 FurnaceRecipe

matchRecipe() 공개 메소드

public matchRecipe ( ShapelessRecipe $recipe ) : boolean
$recipe ShapelessRecipe
리턴 boolean

registerArmor() 보호된 메소드

protected registerArmor ( )

registerBrewingRecipe() 공개 메소드

public registerBrewingRecipe ( BrewingRecipe $recipe )
$recipe BrewingRecipe

registerBrewingStand() 보호된 메소드

protected registerBrewingStand ( )

registerDyes() 보호된 메소드

protected registerDyes ( )

registerFood() 보호된 메소드

protected registerFood ( )

registerFurnace() 보호된 메소드

protected registerFurnace ( )

registerFurnaceRecipe() 공개 메소드

public registerFurnaceRecipe ( FurnaceRecipe $recipe )
$recipe FurnaceRecipe

registerIngots() 보호된 메소드

protected registerIngots ( )

registerPotions() 보호된 메소드

protected registerPotions ( )

registerRecipe() 공개 메소드

public registerRecipe ( pocketmine\inventory\Recipe $recipe )
$recipe pocketmine\inventory\Recipe

registerShapedRecipe() 공개 메소드

public registerShapedRecipe ( ShapedRecipe $recipe )
$recipe ShapedRecipe

registerShapelessRecipe() 공개 메소드

public registerShapelessRecipe ( ShapelessRecipe $recipe )
$recipe ShapelessRecipe

registerTools() 보호된 메소드

protected registerTools ( )

registerWeapons() 보호된 메소드

protected registerWeapons ( )

sort() 공개 메소드

public sort ( Item $i1, Item $i2 )
$i1 pocketmine\item\Item
$i2 pocketmine\item\Item

프로퍼티 상세

$brewingRecipes 공개적으로 프로퍼티

public BrewingRecipe[],pocketmine\inventory $brewingRecipes
리턴 BrewingRecipe[]

$furnaceRecipes 공개적으로 프로퍼티

public FurnaceRecipe[],pocketmine\inventory $furnaceRecipes
리턴 FurnaceRecipe[]

$recipeLookup 보호되어 있는 프로퍼티

protected Recipe[][],pocketmine\inventory $recipeLookup
리턴 pocketmine\inventory\Recipe[][]

$recipes 공개적으로 프로퍼티

public Recipe[],pocketmine\inventory $recipes
리턴 pocketmine\inventory\Recipe[]