summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/ohmyvanillamc/mixin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/ohmyvanillamc/mixin')
-rw-r--r--src/main/java/com/keuin/ohmyvanillamc/mixin/DisableWanderingTraderSpawning.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/ohmyvanillamc/mixin/DisableWanderingTraderSpawning.java b/src/main/java/com/keuin/ohmyvanillamc/mixin/DisableWanderingTraderSpawning.java
new file mode 100644
index 0000000..c7049d8
--- /dev/null
+++ b/src/main/java/com/keuin/ohmyvanillamc/mixin/DisableWanderingTraderSpawning.java
@@ -0,0 +1,18 @@
+package com.keuin.ohmyvanillamc.mixin;
+
+import net.minecraft.world.WanderingTraderManager;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.Overwrite;
+
+@Mixin(WanderingTraderManager.class)
+public class DisableWanderingTraderSpawning {
+
+ /**
+ * @reason disable ticking
+ * @author trueKeuin
+ */
+ @Overwrite
+ public void tick() {
+ }
+
+}