Compare commits
3 Commits
1.21.11
...
1.19-multi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
912d1af8f9 | ||
|
|
61c2f3e5a0 | ||
|
|
83a10aff29 |
|
|
@ -78,8 +78,11 @@ public class PlacementHandler
|
|||
}
|
||||
|
||||
level.setBlockAndUpdate(pos, state);
|
||||
if (blockEntity != null)
|
||||
if (blockEntity != null) {
|
||||
blockEntity.setBlockState(state);
|
||||
level.setBlockEntity(blockEntity);
|
||||
}
|
||||
|
||||
level.updateNeighborsAt(pos.relative(Direction.DOWN), level.getBlockState(pos.relative(Direction.DOWN)).getBlock());
|
||||
carry.clear();
|
||||
CarryOnDataManager.setCarryData(player, carry);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public class ListHandler {
|
|||
private static List<TagKey<EntityType<?>>> FORBIDDEN_STACKING_TAGS = new ArrayList<>();
|
||||
private static List<TagKey<EntityType<?>>> ALLOWED_STACKING_TAGS = new ArrayList<>();
|
||||
|
||||
private static Set<Class<?>> PROPERTY_EXCEPTION_CLASSES = new HashSet<>();
|
||||
private static Set<Property<?>> PROPERTY_EXCEPTION_CLASSES = new HashSet<>();
|
||||
|
||||
public static boolean isPermitted(Block block)
|
||||
{
|
||||
|
|
@ -58,7 +58,7 @@ public class ListHandler {
|
|||
|
||||
public static boolean isPropertyException(Property<?> prop)
|
||||
{
|
||||
return PROPERTY_EXCEPTION_CLASSES.contains(prop.getValueClass());
|
||||
return PROPERTY_EXCEPTION_CLASSES.contains(prop);
|
||||
}
|
||||
|
||||
private static boolean doCheck(Block block, Set<String> regular, List<TagKey<Block>> tags)
|
||||
|
|
@ -136,7 +136,7 @@ public class ListHandler {
|
|||
for(String propName : props.split(",")) {
|
||||
for (Property<?> prop : blk.defaultBlockState().getProperties()) {
|
||||
if (prop.getName().equals(propName))
|
||||
PROPERTY_EXCEPTION_CLASSES.add(prop.getValueClass());
|
||||
PROPERTY_EXCEPTION_CLASSES.add(prop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@ dependencies {
|
|||
include implementation("com.github.llamalad7.mixinextras:mixinextras-fabric:${mixinextras_version}")
|
||||
annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${mixinextras_version}")
|
||||
|
||||
modImplementation "de.siphalor:amecsapi-1.19:1.3.9+mc1.19.4"
|
||||
include "de.siphalor:amecsapi-1.19:1.3.9+mc1.19.4"
|
||||
modRuntimeOnly "de.siphalor:amecsapi-1.19:1.3.9+mc1.19.4"
|
||||
}
|
||||
|
||||
loom {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Project
|
||||
version=2.0.5
|
||||
version=2.0.6
|
||||
group=tschipp.carryon
|
||||
|
||||
# Common
|
||||
|
|
@ -18,10 +18,6 @@ fabric_version=0.85.0+1.19.4
|
|||
fabric_loader_version=0.14.21
|
||||
parchment_mappings_fabric=1.19.4:2023.06.26
|
||||
|
||||
# Quilt
|
||||
quilt_loader_version=0.16.0-beta.7
|
||||
quilt_stdlib_version=1.1.0-beta.3+1.18.2
|
||||
|
||||
# Mod options
|
||||
mod_name=Carry On
|
||||
mod_author=Tschipp, PurpliciousCow
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user