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:
@@ -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) {
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user