scarpet v1.2

This commit is contained in:
gnembon committed 2019-05-16 14:11:39 -03:00
1 parent 723f863d98
commit 885f579d6c
34 files changed
+8786 -18

No files matched your search

@@ -0,0 +1,23 @@
package carpet.script;
import net.minecraft.server.command.ServerCommandSource;
import net.minecraft.util.math.BlockPos;
public class CarpetContext extends Context
{
public ServerCommandSource s;
public BlockPos origin;
public CarpetContext(ScriptHost host, ServerCommandSource source, BlockPos origin)
{
super(host);
s = source;
this.origin = origin;
}
@Override
public Context recreate()
{
return new CarpetContext(this.host, this.s, this.origin);
}
}