Browse Source

update to 1.14

master
Adrian Siekierka 1 year ago
parent
commit
83aa20a05e

+ 5
- 5
build.gradle View File

@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.2.0-SNAPSHOT'
id 'fabric-loom' version '0.2.2-SNAPSHOT'
id 'net.minecrell.licenser' version '0.4.1'
}

@@ -7,15 +7,15 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

archivesBaseName = "foamfix"
version = "0.12.0"
version = "0.12.1"

minecraft {
}

dependencies {
minecraft "com.mojang:minecraft:19w03c"
mappings "net.fabricmc:yarn:19w03c.1"
modCompile "net.fabricmc:fabric-loader:0.3.2.96"
minecraft "com.mojang:minecraft:1.14"
mappings "net.fabricmc:yarn:1.14+build.3"
modCompile "net.fabricmc:fabric-loader:0.4.5+build.140"
}

license {

+ 1
- 1
src/main/java/pl/asie/foamfix/state/FoamyBlockStateEmpty.java View File

@@ -46,7 +46,7 @@ public class FoamyBlockStateEmpty extends BlockState {
}

@Override
public void method_11571(Map<Map<Property<?>, Comparable<?>>, BlockState> map_1) {
public void createWithTable(Map<Map<Property<?>, Comparable<?>>, BlockState> map_1) {

}
}

+ 1
- 1
src/main/java/pl/asie/foamfix/state/FoamyBlockStateMapped.java View File

@@ -63,7 +63,7 @@ public class FoamyBlockStateMapped extends BlockState {
}

@Override
public void method_11571(Map<Map<Property<?>, Comparable<?>>, BlockState> map_1) {
public void createWithTable(Map<Map<Property<?>, Comparable<?>>, BlockState> map_1) {
this.value = owner.generateValue(this);
}
}

+ 1
- 1
src/main/java/pl/asie/foamfix/state/PropertyValueMapperImpl.java View File

@@ -102,7 +102,7 @@ public class PropertyValueMapperImpl<C extends PropertyContainer<C>> implements
}

public <T extends Comparable<T>, V extends T> C with(int value, Property<T> property, V propertyValue) {
int bitPos = entryPositionMap.get(property.getName());
int bitPos = entryPositionMap.getInt(property.getName());
if (bitPos >= 0) {
PropertyOrdering.Entry e = PropertyOrdering.getEntry(property);
int nv = e.get(propertyValue);

BIN
src/main/resources/assets/foamfix/icon.png View File


+ 9
- 9
src/main/resources/fabric.mod.json View File

@@ -1,15 +1,15 @@
{
"schemaVersion": 1,
"id": "foamfix",
"name": "FoamFix",
"description": "Memory usage optimization mod.",
"version": "0.12.0",
"side": "universal",
"initializers": [
],
"requires": {
"version": "0.12.1",
"icon": "assets/foamfix/icon.png",
"contact": {
"homepage": "https://charset.asie.pl",
"irc": "irc://irc.esper.net:6667/charset"
},
"mixins": {
"client": "foamfix.mixins.client.json",
"common": "foamfix.mixins.common.json"
}
"mixins": [
"foamfix.mixins.json"
]
}

+ 0
- 11
src/main/resources/foamfix.mixins.common.json View File

@@ -1,11 +0,0 @@
{
"required": true,
"package": "pl.asie.foamfix.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
"state.MixinStateFactoryBuilder"
],
"injectors": {
"defaultRequire": 1
}
}

src/main/resources/foamfix.mixins.client.json → src/main/resources/foamfix.mixins.json View File

@@ -3,6 +3,9 @@
"package": "pl.asie.foamfix.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
"state.MixinStateFactoryBuilder"
],
"client": [
"client.MixinBasicBakedModel",
"client.MixinMultipartBakedModel",
"client.MixinWeightedBakedModel"

Loading…
Cancel
Save