9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2026-01-06 15:52:03 +00:00

为家具添加自定义掉落物位置

This commit is contained in:
XiaoMoMi
2025-05-09 02:34:23 +08:00
parent ef1caaa05a
commit 81cf2055e4
5 changed files with 26 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import net.momirealms.craftengine.core.loot.LootTable;
import net.momirealms.craftengine.core.util.Key;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.joml.Vector3f;
import java.util.EnumMap;
import java.util.Optional;
@@ -60,6 +61,7 @@ public class CustomFurniture {
HitBox[] hitBoxes,
RotationRule rotationRule,
AlignmentRule alignmentRule,
Optional<ExternalModel> externalModel) {
Optional<ExternalModel> externalModel,
Optional<Vector3f> dropOffset) {
}
}