diff --git a/src/item/component/GlintComponent.php b/src/item/component/GlintComponent.php index 5a9b2c1..efe56ba 100644 --- a/src/item/component/GlintComponent.php +++ b/src/item/component/GlintComponent.php @@ -16,7 +16,7 @@ public function __construct(bool $glint = true) { } public function getName(): string { - return "foil"; + return "minecraft:glint"; } public function getValue(): bool { diff --git a/src/item/component/RecordComponent.php b/src/item/component/RecordComponent.php index 70cc327..9dc06b8 100644 --- a/src/item/component/RecordComponent.php +++ b/src/item/component/RecordComponent.php @@ -15,7 +15,7 @@ final class RecordComponent implements ItemComponent { * @param float $duration Specifies duration of sound event in seconds, float value * @param string $soundEvent Sound event type: 13, cat, blocks, chirp, far, mall, mellohi, stal, strad, ward, 11, wait, pigstep, otherside, 5, relic */ - public function __construct(int $comparatorSignal = 1, float $duration, string $soundEvent = "undefined") { + public function __construct(float $duration, int $comparatorSignal = 1, string $soundEvent = "undefined") { $this->comparatorSignal = $comparatorSignal; $this->duration = $duration; $this->soundEvent = $soundEvent;