41a complete
This commit is contained in:
1 parent
7b649f9ccd
commit
ec0be058ac
4 files changed
+7
-7
No files matched your search
@@ -14,7 +14,7 @@ public class MinecraftClientMixin
|
||||
{
|
||||
//to inject right before
|
||||
// this.tickWorlds(booleanSupplier_1);
|
||||
@Inject(method = "start", at = @At(value = "HEAD")
|
||||
@Inject(method = "run", at = @At(value = "HEAD")
|
||||
)
|
||||
private void onInit(CallbackInfo ci) {
|
||||
//CM start game hook
|
||||
|
||||
@@ -110,7 +110,7 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
||||
this.getServerWorld().method_14178().updateCameraPosition(this);
|
||||
}
|
||||
super.tick();
|
||||
this.method_14226();
|
||||
this.playerTick();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -2811,8 +2811,8 @@ public class CarpetExpression
|
||||
return (cc, tt) -> retval;
|
||||
});
|
||||
|
||||
/*this.expr.addLazyFunction("plop", 4, (c, t, lv) ->{
|
||||
BlockValue.LocatorResult locator = BlockValue.fromParams((CarpetContext)c, lv, 0);
|
||||
this.expr.addLazyFunction("plop", 4, (c, t, lv) ->{
|
||||
return LazyValue.NULL;/*BlockValue.LocatorResult locator = BlockValue.fromParams((CarpetContext)c, lv, 0);
|
||||
if (lv.size() <= locator.offset)
|
||||
throw new InternalExpressionException("plop needs extra argument indicating what to plop");
|
||||
String what = lv.get(locator.offset).evalValue(c).getString();
|
||||
@@ -2821,8 +2821,8 @@ public class CarpetExpression
|
||||
return (c_, t_) -> Value.NULL;
|
||||
if (what.equalsIgnoreCase("boulder")) // there might be more of those
|
||||
this.forceChunkUpdate(locator.block.getPos(), ((CarpetContext)c).s.getWorld());
|
||||
return (c_, t_) -> new NumericValue(res);
|
||||
});*/
|
||||
return (c_, t_) -> new NumericValue(res);*/
|
||||
});
|
||||
|
||||
this.expr.addLazyFunction("schedule", -1, (c, t, lv) -> {
|
||||
if (lv.size()<2)
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
"SaplingBlockMixin",
|
||||
"EntityMixin",
|
||||
|
||||
"class_4548_getBiomeArrayMixin",
|
||||
"BiomeArray_getBiomeArrayMixin",
|
||||
|
||||
"GuardianEntityMixin",
|
||||
"DesertPyramidFeatureMixin",
|
||||
|
||||
Reference in new issue
Block a user