1.16-pre7

This commit is contained in:
modmuss50 2020-06-16 17:20:28 +01:00
parent f444f16314
commit 5794386efb
3 changed files with 3 additions and 3 deletions
build.gradle
fabric-tool-attribute-api-v1
build.gradle
src/main/java/net/fabricmc/fabric/mixin/tool/attribute

View file

@ -13,7 +13,7 @@ def ENV = System.getenv()
class Globals {
static def baseVersion = "0.12.3"
static def mcVersion = "1.16-pre6"
static def mcVersion = "1.16-pre7"
static def yarnVersion = "+build.1"
}

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-tool-attribute-api-v1"
version = getSubprojectVersion(project, "1.1.3")
version = getSubprojectVersion(project, "1.1.4")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -43,7 +43,7 @@ public abstract class MixinLivingEntity extends Entity {
* @author B0undarybreaker
* @reason get entity attribute modifiers for dynamic tools
*/
@Redirect(method = "tick", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;getAttributeModifiers(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;"))
@Redirect(method = "method_30129", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;getAttributeModifiers(Lnet/minecraft/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap;"))
public Multimap<EntityAttribute, EntityAttributeModifier> actTickModifiers(ItemStack stack, EquipmentSlot slot) {
return actModifiers(stack, slot, (LivingEntity) (Object) this);
}