最終更新:2024年11月13日 (水) 21時50分02秒、 - view
目次
Import
Package : net.minecraft
メソッド
getLargestRectangleAround
(BlockPos p_124335_, Direction.Axis p_124336_, int p_124337_, Direction.Axis p_124338_, int p_124339_, Predicate<BlockPos> p_124340_)
引数
getLimit
(Predicate<BlockPos> p_124342_, BlockPos.MutableBlockPos p_124343_, Direction p_124344_, int p_124345_)
修飾子 |
private static |
戻り値 |
int |
引数
名前 |
型 |
備考 |
p_124342_ |
Predicate<BlockPos> |
|
p_124333_ |
BlockPos.MutableBlockPos |
|
p_124344_ |
Direction |
|
p_124345_ |
int |
|
getMaxRectangleLocation
(int[] p_124347_)
|
@VisibleForTesting |
|
static |
戻り値 |
Pair<BlockUtil.IntBounds, Integer> |
引数
getTopConnectedBlock
(BlockGetter p_177846_, BlockPos p_177847_, Block p_177848_, Direction p_177849_, Block p_177850_)
修飾子 |
public static |
戻り値 |
Optional<BlockPos> |
引数
名前 |
型 |
備考 |
p_177846_ |
BlockGetter |
|
p_177847_ |
BlockPos |
|
p_177848_ |
Block |
|
p_177849_ |
Direction |
|
p_177850_ |
Block |
|
内部クラス
FoundRectangle
フィールド
修飾子 |
型 |
名前 |
public final |
BlockPos |
minCorner |
public final |
int |
axis1Size |
public final |
int |
axis2Size |
メソッド
FoundRectangle(コンストラクタ)
(BlockPos p_124352_, int p_124353_, int p_124354_)
- minCorner, axis1Size, axis2Sizeを設定する。
引数
名前 |
型 |
備考 |
p_124352_ |
BlockPos |
->minCorner |
p_124353_ |
int |
->axis1Size |
p_124354_ |
int |
->axis2Size |
IntBounds
変数
修飾子 |
型 |
名前 |
public final |
int |
min |
public final |
int |
max |
メソッド
IntBounds(コンストラクタ)
(int p_124358_, int p_124359_)
引数
名前 |
型 |
備考 |
p_124358_ |
int |
->min |
p_124359_ |
int |
->max |
toString()
- 文字列に変換する。
- "IntBounds{min=<変数minの値>, max=<変数maxの値>}"の形式の文字列を返す。
被Import
派生クラス
最終更新:2024年11月13日 21:50