fix server issues

This commit is contained in:
dfsek
2021-03-01 17:20:19 -07:00
parent 613e9c0c54
commit e4c1a056ae
7 changed files with 94 additions and 24 deletions
@@ -20,6 +20,7 @@
]
},
"mixins": [
"terra.mixins.json"
],
"depends": {
"fabricloader": ">=0.7.4",
@@ -2,16 +2,8 @@ accessWidener v1 named
extendable method net/minecraft/client/world/GeneratorType <init> (Ljava/lang/String;)V
accessible field net/minecraft/client/world/GeneratorType translationKey Lnet/minecraft/text/Text;
mutable field net/minecraft/client/world/GeneratorType translationKey Lnet/minecraft/text/Text;
accessible field net/minecraft/client/world/GeneratorType VALUES Ljava/util/List;
accessible field net/minecraft/server/world/ServerWorld worldProperties Lnet/minecraft/world/level/ServerWorldProperties;
accessible method net/minecraft/world/MobSpawnerLogic getEntityId ()Lnet/minecraft/util/Identifier;
accessible field net/minecraft/state/State PROPERTY_MAP_PRINTER Ljava/util/function/Function;
accessible method net/minecraft/block/entity/LootableContainerBlockEntity setInvStackList (Lnet/minecraft/util/collection/DefaultedList;)V
accessible method net/minecraft/block/entity/LootableContainerBlockEntity getInvStackList ()Lnet/minecraft/util/collection/DefaultedList;
accessible field net/minecraft/state/State PROPERTY_MAP_PRINTER Ljava/util/function/Function;
@@ -0,0 +1,16 @@
{
"required": true,
"minVersion": "0.8",
"package": "com.dfsek.terra.fabric.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
"BiomeEffectsAccessor"
],
"client": [
"GeneratorTypeAccessor"
],
"server": [],
"injectors": {
"defaultRequire": 1
}
}