1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-04 15:31:36 +00:00

Fix: non-vanilla custom blockstate registration (#5310)

* Try fixing custom blockstate registration

* another attempt; round two

* register collisions

* don't register block states twice
This commit is contained in:
chris
2025-02-02 15:16:34 +01:00
committed by GitHub
parent f328e5bb6b
commit ea13e588cd
6 changed files with 101 additions and 80 deletions

View File

@@ -1,7 +0,0 @@
package org.geysermc.geyser.api.block.custom.nonvanilla;
import org.checkerframework.checker.index.qual.NonNegative;
import org.checkerframework.checker.nullness.qual.NonNull;
public record JavaBlockItem(@NonNull String identifier, @NonNegative int javaId, @NonNegative int stackSize) {
}

View File

@@ -70,7 +70,7 @@ public interface JavaBlockState {
@Nullable String pistonBehavior();
/**
* Gets whether the block state has block entity
* Gets whether the block state has a block entity
*
* @return whether the block state has block entity
* @deprecated Does not have an effect. If you were using this to