PocketMine-MP
5.43.3 git-4e2b0ce88fd28aa124b51efe324b94ceebb999fe
Loading...
Searching...
No Matches
vendor/pocketmine/bedrock-protocol/src/types/recipe/PotionTypeRecipe.php
1
<?php
2
3
/*
4
* This file is part of BedrockProtocol.
5
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6
*
7
* BedrockProtocol is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Lesser General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*/
12
13
declare(strict_types=1);
14
15
namespace
pocketmine\network\mcpe\protocol\types\recipe;
16
17
class
PotionTypeRecipe
{
18
public
function
__construct(
19
private
int
$inputItemId,
20
private
int
$inputItemMeta,
21
private
int
$ingredientItemId,
22
private
int
$ingredientItemMeta,
23
private
int
$outputItemId,
24
private
int
$outputItemMeta
25
){}
26
27
public
function
getInputItemId() :
int
{
28
return
$this->inputItemId;
29
}
30
31
public
function
getInputItemMeta() :
int
{
32
return
$this->inputItemMeta;
33
}
34
35
public
function
getIngredientItemId() :
int
{
36
return
$this->ingredientItemId;
37
}
38
39
public
function
getIngredientItemMeta() :
int
{
40
return
$this->ingredientItemMeta;
41
}
42
43
public
function
getOutputItemId() :
int
{
44
return
$this->outputItemId;
45
}
46
47
public
function
getOutputItemMeta() :
int
{
48
return
$this->outputItemMeta;
49
}
50
}
pocketmine\network\mcpe\protocol\types\recipe\PotionTypeRecipe
Definition
vendor/pocketmine/bedrock-protocol/src/types/recipe/PotionTypeRecipe.php:17
vendor
pocketmine
bedrock-protocol
src
types
recipe
PotionTypeRecipe.php
Generated by
1.12.0