Update to latest mappings
This commit is contained in:
parent
4ca4c47ec1
commit
3a35118bb9
|
@ -20,12 +20,11 @@ repositories {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:18w50a"
|
minecraft "com.mojang:minecraft:18w50a"
|
||||||
// mappings "net.fabricmc:yarn:18w50a.80"
|
mappings "net.fabricmc:yarn:18w50a.91"
|
||||||
mappings "net.fabricmc:yarn:18w50a.local" // temporary until yarn #369
|
modCompile "net.fabricmc:fabric-loader:0.3.2.91"
|
||||||
modCompile "net.fabricmc:fabric-loader:0.3.1.80"
|
|
||||||
|
|
||||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||||
modCompile "net.fabricmc:fabric:0.1.3.68"
|
modCompile "net.fabricmc:fabric:0.1.4.69"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
||||||
|
|
|
@ -34,7 +34,7 @@ public abstract class MixinDebugHud {
|
||||||
@Shadow
|
@Shadow
|
||||||
public abstract String method_1845(Map.Entry<Property<?>, Comparable<?>> map$Entry_1);
|
public abstract String method_1845(Map.Entry<Property<?>, Comparable<?>> map$Entry_1);
|
||||||
|
|
||||||
@Inject(method = "method_1839", at = @At("RETURN"))
|
@Inject(method = "getRightText", at = @At("RETURN"))
|
||||||
public void method_1839(CallbackInfoReturnable<List<String>> info) {
|
public void method_1839(CallbackInfoReturnable<List<String>> info) {
|
||||||
if (!client.hasReducedDebugInfo() && blockHit != null && blockHit.type == HitResult.Type.BLOCK) {
|
if (!client.hasReducedDebugInfo() && blockHit != null && blockHit.type == HitResult.Type.BLOCK) {
|
||||||
BlockEntity entity = client.world.getBlockEntity(blockHit.getBlockPos());
|
BlockEntity entity = client.world.getBlockEntity(blockHit.getBlockPos());
|
||||||
|
|
Loading…
Reference in New Issue