Bump target and fix compatibility with 1.21.1

This commit is contained in:
Sollace 2024-10-14 20:05:49 +01:00
parent 9907d3c907
commit 81bcf14a60
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 9 additions and 4 deletions

View file

@ -3,10 +3,10 @@ org.gradle.daemon=false
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/develop # check these on https://fabricmc.net/develop
minecraft_version=1.21 minecraft_version=1.21.1
yarn_mappings=1.21+build.9 yarn_mappings=1.21.1+build.3
loader_version=0.16.5 loader_version=0.16.5
fabric_version=0.102.0+1.21 fabric_version=0.105.0+1.21.1
# Mod Properties # Mod Properties
group=com.minelittlepony group=com.minelittlepony
@ -15,7 +15,7 @@ org.gradle.daemon=false
description=Magical Abilities for Mine Little Pony! description=Magical Abilities for Mine Little Pony!
# Publishing # Publishing
minecraft_version_range=1.21 minecraft_version_range=>=1.21
modrinth_loader_type=fabric modrinth_loader_type=fabric
modrinth_project_id=9K7RJlvM modrinth_project_id=9K7RJlvM

View file

@ -144,6 +144,11 @@ public class FancyBedBlock extends BedBlock {
super(pos, state); super(pos, state);
} }
@Override
public boolean supports(BlockState state) {
return getType().supports(state);
}
@Override @Override
public BlockEntityType<?> getType() { public BlockEntityType<?> getType() {
return UBlockEntities.FANCY_BED; return UBlockEntities.FANCY_BED;