mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-21 20:50:28 -04:00
1.16-pre7
This commit is contained in:
parent
f444f16314
commit
5794386efb
3 changed files with 3 additions and 3 deletions
build.gradle
fabric-tool-attribute-api-v1
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue