1.15-pre2

This commit is contained in:
modmuss50 2019-11-25 19:28:07 +00:00
parent 264dbbc635
commit e08a7305d5
9 changed files with 11 additions and 20 deletions
build.gradle
fabric-loot-tables-v1
build.gradle
src/main/java/net/fabricmc/fabric
fabric-networking-blockentity-v0
build.gradle
src/main/java/net/fabricmc/fabric/api/block/entity
fabric-textures-v0
build.gradle
src/main/java/net/fabricmc/fabric/mixin/client/texture

View file

@ -12,9 +12,9 @@ plugins {
def ENV = System.getenv()
class Globals {
static def baseVersion = "0.4.13"
static def mcVersion = "1.15-pre1"
static def yarnVersion = "+build.3"
static def baseVersion = "0.4.14"
static def mcVersion = "1.15-pre2"
static def yarnVersion = "+build.1"
}
import org.apache.commons.codec.digest.DigestUtils

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-loot-tables-v1"
version = getSubprojectVersion(project, "0.1.4")
version = getSubprojectVersion(project, "0.1.5")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -47,13 +47,13 @@ public class FabricLootPoolBuilder extends LootPool.Builder {
@Override
public FabricLootPoolBuilder withCondition(LootCondition.Builder condition) {
super.method_356(condition);
super.withCondition(condition);
return this;
}
@Override
public FabricLootPoolBuilder withFunction(LootFunction.Builder function) {
super.method_353(function);
super.withFunction(function);
return this;
}

View file

@ -48,7 +48,7 @@ public class FabricLootSupplierBuilder extends LootTable.Builder {
@Override
public FabricLootSupplierBuilder withFunction(LootFunction.Builder function) {
super.method_335(function);
super.withFunction(function);
return this;
}

View file

@ -40,7 +40,7 @@ import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback;
public class MixinLootManager {
@Shadow private Map<Identifier, LootTable> suppliers;
@Inject(method = "method_20712", at = @At("RETURN"))
@Inject(method = "apply", at = @At("RETURN"))
private void apply(Map<Identifier, JsonObject> objectMap, ResourceManager manager, Profiler profiler, CallbackInfo info) {
Map<Identifier, LootTable> newSuppliers = new HashMap<>();

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-networking-blockentity-v0"
version = getSubprojectVersion(project, "0.2.2")
version = getSubprojectVersion(project, "0.2.3")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -47,6 +47,6 @@ public interface BlockEntityClientSerializable {
Preconditions.checkNotNull(world); //Maintain distinct failure case from below
if (!(world instanceof ServerWorld)) throw new IllegalStateException("Cannot call sync() on the logical client! Did you check world.isClient first?");
((ServerWorld) world).method_14178().markForUpdate(((BlockEntity) this).getPos());
((ServerWorld) world).getChunkManager().markForUpdate(((BlockEntity) this).getPos());
}
}

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-textures-v0"
version = getSubprojectVersion(project, "1.0.1")
version = getSubprojectVersion(project, "1.0.2")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -48,19 +48,10 @@ import net.fabricmc.fabric.impl.client.texture.SpriteRegistryCallbackHolder;
@Mixin(SpriteAtlasTexture.class)
public abstract class MixinSpriteAtlasTexture {
@Unique
private static Logger FABRIC_LOGGER = LogManager.getLogger();
@Shadow
private int mipLevel;
@Shadow
public abstract Sprite getSprite(Identifier id);
@Shadow
public abstract Identifier method_24106();
// INJECTION LOGIC
private Map<Identifier, Sprite> fabric_injectedSprites;
// Loads in custom sprite object injections.