fixed game dev not working
various fabric issues added archives to loot tables
This commit is contained in:
1 parent
f5b589b6ba
commit
c6b47b496a
102 files changed
+926
-139
No files matched your search
+5
-6
@@ -1,6 +1,5 @@
|
||||
package com.craisinlord.antarchy.mixins.time;
|
||||
|
||||
import com.craisinlord.antarchy.content.enchantment.AntarchyEnchantments;
|
||||
import com.craisinlord.antarchy.content.time.ChronosphereManager;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.world.entity.EquipmentSlot;
|
||||
@@ -13,10 +12,10 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(LivingEntity.class)
|
||||
public abstract class LivingEntityChronosphereEquipmentMixin {
|
||||
@Inject(method = "setItemSlot", at = @At("TAIL"))
|
||||
private void antarchy$refreshChronosphere(EquipmentSlot slot, ItemStack stack, CallbackInfo callback) {
|
||||
if (slot != EquipmentSlot.CHEST) return;
|
||||
LivingEntity self = (LivingEntity) (Object) this;
|
||||
if (self instanceof ServerPlayer player) ChronosphereManager.refresh(player);
|
||||
@Inject(method = "onEquipItem", at = @At("TAIL"))
|
||||
private void antarchy$refreshChronosphere(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack, CallbackInfo callback) {
|
||||
if (slot == EquipmentSlot.CHEST && (Object) this instanceof ServerPlayer player) {
|
||||
ChronosphereManager.refresh(player);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ultrawarm": true,
|
||||
"ultrawarm": false,
|
||||
"natural": false,
|
||||
"coordinate_scale": 64.0,
|
||||
"bed_works": false,
|
||||
|
||||
Reference in new issue
Block a user