repo_id stringclasses 383
values | file_path stringlengths 7 168 | content stringlengths 0 1.75M |
|---|---|---|
alternate-current | src\main\java\alternate\current\command\AlternateCurrentCommand.java | package alternate.current.command;
import com.mojang.brigadier.Command;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.ex... |
alternate-current | src\main\java\alternate\current\mixin\CommandsMixin.java | package alternate.current.mixin;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.At.Shift;
import org.spongepowered.asm.mixin.injection.Inject;
im... |
alternate-current | src\main\java\alternate\current\mixin\ExperimentalRedstoneUtilsMixin.java | package alternate.current.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import alternate.current.AlternateCurrentMod;
import net.minec... |
alternate-current | src\main\java\alternate\current\mixin\MinecraftServerMixin.java | package alternate.current.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import alternate.current.interfaces.mixin.IServerLevel;
import ... |
alternate-current | src\main\java\alternate\current\mixin\RedStoneWireBlockMixin.java | package alternate.current.mixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import alternate.current.AlternateCurrentMod;
import alternate.current.in... |
alternate-current | src\main\java\alternate\current\mixin\ServerLevelMixin.java | package alternate.current.mixin;
import java.util.List;
import java.util.concurrent.Executor;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import alte... |
alternate-current | src\main\java\alternate\current\wire\Config.java | package alternate.current.wire;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Objects;
import alternate.current.AlternateCurrentMod;
import alternate.current.interfaces.mixin.IServerLevel;
import net.m... |
alternate-current | src\main\java\alternate\current\wire\LevelHelper.java | package alternate.current.wire;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.chunk.ChunkAccess;
import net.minecraft.world.level.chunk.LevelChunk... |
alternate-current | src\main\java\alternate\current\wire\Node.java | package alternate.current.wire;
import java.util.Arrays;
import alternate.current.wire.WireHandler.Directions;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.state.BlockState;
/**
* A Node repr... |
alternate-current | src\main\java\alternate\current\wire\PriorityQueue.java | package alternate.current.wire;
import java.util.AbstractQueue;
import java.util.Arrays;
import java.util.Iterator;
import net.minecraft.world.level.redstone.Redstone;
public class PriorityQueue extends AbstractQueue<Node> {
private static final int OFFSET = -Redstone.SIGNAL_MIN;
/** The last node for each prior... |
alternate-current | src\main\java\alternate\current\wire\SimpleQueue.java | package alternate.current.wire;
import java.util.AbstractQueue;
import java.util.Iterator;
public class SimpleQueue extends AbstractQueue<WireNode> {
private WireNode head;
private WireNode tail;
private int size;
SimpleQueue() {
}
@Override
public boolean offer(WireNode node) {
if (node == null) {
t... |
alternate-current | src\main\java\alternate\current\wire\UpdateOrder.java | package alternate.current.wire;
import java.util.Locale;
import java.util.function.Consumer;
import alternate.current.wire.WireHandler.Directions;
import alternate.current.wire.WireHandler.NodeProvider;
public enum UpdateOrder {
HORIZONTAL_FIRST_OUTWARD(
new int[][] {
new int[] { Directions.WEST , Directions.... |
alternate-current | src\main\java\alternate\current\wire\WireConnection.java | package alternate.current.wire;
/**
* This class represents a connection between some WireNode (the 'owner') and a
* neighboring WireNode. Two wires are considered to be connected if power can
* flow from one wire to the other (and/or vice versa).
*
* @author Space Walker
*/
public class WireConnection {
/** ... |
alternate-current | src\main\java\alternate\current\wire\WireConnectionManager.java | package alternate.current.wire;
import java.util.Arrays;
import java.util.function.Consumer;
import alternate.current.wire.WireHandler.Directions;
import alternate.current.wire.WireHandler.NodeProvider;
public class WireConnectionManager {
/** The owner of these connections. */
final WireNode owner;
/** The fir... |
alternate-current | src\main\java\alternate\current\wire\WireHandler.java | package alternate.current.wire;
import java.util.Iterator;
import java.util.Queue;
//import alternate.current.AlternateCurrentMod;
//import alternate.current.util.profiler.Profiler;
import it.unimi.dsi.fastutil.longs.Long2ObjectMap;
import it.unimi.dsi.fastutil.longs.Long2ObjectMap.Entry;
import it.unimi.dsi.fastuti... |
alternate-current | src\main\java\alternate\current\wire\WireNode.java | package alternate.current.wire;
import net.minecraft.core.BlockPos;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.util.Mth;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.RedStoneWireBlock;
import net.minecraft.w... |
alternate-current | src\main\java\alternate\current\interfaces\mixin\IServerLevel.java | package alternate.current.interfaces.mixin;
import alternate.current.wire.WireHandler;
public interface IServerLevel {
WireHandler alternate_current$getWireHandler();
}
|
alternate-current | src\main\java\alternate\current\util\profiler\ACProfiler.java | package alternate.current.util.profiler;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import org.apache.logging.log4j.Logger;
import alternate.current.AlternateCurrentMod;
public class ACProfiler implements Profiler {
private static final Logger LOGGER = AlternateCurrentMod.LOGGER;
... |
alternate-current | src\main\java\alternate\current\util\profiler\Profiler.java | package alternate.current.util.profiler;
public interface Profiler {
public static final Profiler DUMMY = new Profiler() {
@Override public void start() { }
@Override public void end() { }
@Override public void push(String location) { }
@Override public void pop() { }
@Override public void swap(String loc... |
alternate-current | src\main\java\alternate\current\util\profiler\ProfilerResults.java | package alternate.current.util.profiler;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.logging.log4j.Logger;
import alternate.current.AlternateCurrentMod;
public class ProfilerResults {
private static final Logger LOGGER = AlternateCurr... |
amecs-api | src\main\mixins\amecsapi.compat.controlling.mixins.json | {
"required": false,
"package": "de.siphalor.amecs.impl.mixin.compat.controlling",
"compatibilityLevel": "JAVA_8",
"mixins": [],
"client": [
"MixinControllingKeyBindingEntry"
],
"server": [],
"injectors": {
"defaultRequire": 1
}
}
|
amecs-api | src\main\resources\amecsapi.mixins.json | {
"required": true,
"package": "de.siphalor.amecs.impl.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [],
"client": [
"MixinGameOptions",
"MixinInputUtilType",
"MixinKeyBinding",
"MixinKeyBindingEntry",
"MixinKeybindsScreen",
"MixinKeyboard",
"MixinMinecraftClient",
"MixinMouse"
],
"server": [... |
amecs-api | src\main\resources\fabric.mod.json | {
"schemaVersion": 1,
"id": "amecsapi",
"version": "${version}",
"name": "Amecs API",
"description": "The keybinding modifier API of Amecs",
"authors": [
"Siphalor",
"Klotzi111"
],
"contributors": [],
"contact": {},
"license": "Apache-2.0",
"icon": "assets/amecsapi/icon.png",
"environment": "client",
"... |
amecs-api | src\main\java\de\siphalor\amecs\api\AmecsKeyBinding.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\KeyBindingUtils.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\KeyModifier.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\KeyModifiers.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\PriorityKeyBinding.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\AmecsAPI.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\AmecsAPIOptions.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\KeyBindingEditGuiHelper.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\KeyBindingManager.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\ModifierPrefixTextProvider.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\NOPMap.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\input\InputEventHandler.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\api\input\InputHandlerManager.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\duck\IKeyBinding.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\duck\IKeyBindingEntry.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\duck\IMouse.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinGameOptions.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinInputUtilType.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinKeyBinding.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinKeyBindingEntry.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinKeybindsScreen.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinKeyboard.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinMinecraftClient.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\MixinMouse.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\compat\controlling\AmecsControllingIntegration.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\java\de\siphalor\amecs\impl\mixin\compat\controlling\MixinControllingKeyBindingEntry.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\main\resources\assets\amecsapi\lang\de_de.json | {
"key.amecsapi.mouse.scroll.up": "Hochscrollen",
"key.amecsapi.mouse.scroll.down": "Herunterscrollen",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control": "Steuerung",
"amecsapi.modifier.control.short": "Strg"... |
amecs-api | src\main\resources\assets\amecsapi\lang\en_us.json | {
"key.amecsapi.mouse.scroll.up": "Scroll Up",
"key.amecsapi.mouse.scroll.down": "Scroll Down",
"key.amecsapi.mouse.scroll.left": "Scroll Left",
"key.amecsapi.mouse.scroll.right": "Scroll Right",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.... |
amecs-api | src\main\resources\assets\amecsapi\lang\et_ee.json | {}
|
amecs-api | src\main\resources\assets\amecsapi\lang\fi_fi.json | {
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control": "Control",
"amecsapi.modifier.control.short": "Ctrl",
"amecsapi.modifier.control.tiny": "C",
"amecsapi.modifier.shift": "Shift",
"amecsapi.modifier.shift.short": "Shft",
"amecsapi.modifier.shift.tiny": "S",
"amecsapi.modif... |
amecs-api | src\main\resources\assets\amecsapi\lang\he_il.json | {
"key.amecsapi.mouse.scroll.down": "גלול למטה",
"key.amecsapi.mouse.scroll.right": "גלול לימין",
"amecsapi.modifier.alt": "טאב",
"amecsapi.modifier.alt.short": "אלט",
"amecsapi.modifier.alt.tiny": "ש",
"amecsapi.modifier.control": "קונטרול",
"amecsapi.modifier.control.tiny": "ב",
"amecs... |
amecs-api | src\main\resources\assets\amecsapi\lang\it_it.json | {
"key.amecsapi.mouse.scroll.down": "Scorrere verso il basso",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control.short": "Ctrl",
"amecsapi.modifier.control.tiny": "C",
"amecsapi.modifier.shift": "Maiuscolo",
... |
amecs-api | src\main\resources\assets\amecsapi\lang\ko_kr.json | {}
|
amecs-api | src\main\resources\assets\amecsapi\lang\pl_pl.json | {
"key.amecsapi.mouse.scroll.down": "Przewinięcie w dół",
"key.amecsapi.mouse.scroll.left": "Przewinięcie w lewo",
"key.amecsapi.mouse.scroll.right": "Przewinięcie w prawo",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.mod... |
amecs-api | src\main\resources\assets\amecsapi\lang\pt_br.json | {
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control": "Control",
"amecsapi.modifier.control.short": "Ctrl",
"amecsapi.modifier.control.tiny": "C",
"amecsapi.modifier.shift": "Shift",
"amecsapi.modifier.shif... |
amecs-api | src\main\resources\assets\amecsapi\lang\pt_pt.json | {
"key.amecsapi.mouse.scroll.up": "Rolar para cima",
"key.amecsapi.mouse.scroll.down": "Rolar para baixo",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control": "Control",
"amecsapi.modifier.control.short": "Ctrl... |
amecs-api | src\main\resources\assets\amecsapi\lang\ru_ru.json | {
"key.amecsapi.mouse.scroll.left": "Пролистать влево",
"key.amecsapi.mouse.scroll.right": "Пролистать вправо",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.control": "Control",
"amecsapi.modifier.control.short": ... |
amecs-api | src\main\resources\assets\amecsapi\lang\tr_tr.json | {}
|
amecs-api | src\main\resources\assets\amecsapi\lang\uk_ua.json | {
"amecsapi.modifier.shift": "Shift",
"amecsapi.modifier.control": "Control",
"amecsapi.modifier.shift.tiny": "S",
"amecsapi.modifier.shift.short": "Shft",
"amecsapi.modifier.control.short": "Ctrl",
"amecsapi.modifier.control.tiny": "C",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.mo... |
amecs-api | src\main\resources\assets\amecsapi\lang\zh_cn.json | {
"key.amecsapi.mouse.scroll.down": "向下滚动",
"key.amecsapi.mouse.scroll.left": "向左滚动",
"key.amecsapi.mouse.scroll.right": "向右滚动",
"amecsapi.modifier.alt": "Alt",
"amecsapi.modifier.alt.short": "Alt",
"amecsapi.modifier.alt.tiny": "A",
"amecsapi.modifier.control": "Control",
"amecsapi.modi... |
amecs-api | src\testmod\resources\fabric.mod.json | {
"schemaVersion": 1,
"id": "amecsapi-testmod",
"version": "${version}",
"name": "Amecs API",
"description": "Testmod for Amecs API",
"authors": [
"Siphalor"
],
"contributors": [],
"contact": {},
"license": "Apache-2.0",
"icon": "assets/amecsapi/icon.png",
"environment": "client",
"entrypoints": {
"mai... |
amecs-api | src\testmod\java\de\siphalor\amecs\testmod\ClientInit.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\testmod\java\de\siphalor\amecs\testmod\TestPriorityKeybinding.java | /*
* Copyright 2020 Siphalor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
amecs-api | src\testmod\resources\assets\amecsapi-testmod\lang\en_us.json | {
"key.amecsapi-testmod.priority": "Priority Keybinding",
"key.amecsapi-testmod.priority.amecsapi.description": "A Keybinding that tests the priority execution using Amecs API.\nSupports line breaks."
}
|
amidst | biome\test.json | { "name":"test", "colorMap":[
[ 0, { "r":0, "g":0, "b":112 } ],
[ 1, { "r":141, "g":179, "b":96 } ],
[ 2, { "r":250, "g":148, "b":24 } ],
[ 3, { "r":96, "g":96, "b":96 } ],
[ 4, { "r":5, "g":102, "b":33 } ],
[ 5, { "r":11, "g":2, "b":89 } ],
[ 6, { "r":7, "g":249, "b":178 } ],
[ 7, { "r":0, "g":0, "b":255 } ],
[ 8, { "... |
amidst | src\main\java\amidst\Amidst.java | package amidst;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledByAny;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
import amidst.gui.crash.CrashWindow;
import amidst.logging.AmidstLogger;
import amidst.logging.AmidstMessageBox;
import amidst.logging.... |
amidst | src\main\java\amidst\AmidstSettings.java | package amidst;
import java.util.prefs.Preferences;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.ThreadSafe;
import amidst.gui.main.AmidstLookAndFeel;
import amidst.mojangapi.world.Dimension;
import amidst.mojangapi.world.WorldType;
import amidst.sett... |
amidst | src\main\java\amidst\AmidstVersion.java | package amidst;
import amidst.documentation.Immutable;
import java.util.Properties;
@Immutable
public class AmidstVersion {
public static AmidstVersion from(Properties properties) {
return new AmidstVersion(
Integer.parseInt(properties.getProperty("amidst.version.major")),
Integer.parseInt(properties.get... |
amidst | src\main\java\amidst\Application.java | package amidst;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
import amidst.fragment.FragmentManager;
import amidst.fragment.layer.LayerBuilder;
import amidst.gui.license.LicenseWindow;
import amidst.gui.main.MainWindow;
import amidst.gui... |
amidst | src\main\java\amidst\CommandLineParameters.java | package amidst;
import java.nio.file.Path;
import java.util.Optional;
import org.kohsuke.args4j.CmdLineException;
import org.kohsuke.args4j.CmdLineParser;
import org.kohsuke.args4j.Option;
import org.kohsuke.args4j.OptionDef;
import org.kohsuke.args4j.spi.OptionHandler;
import org.kohsuke.args4j.spi.Parameters;
impor... |
amidst | src\main\java\amidst\FeatureToggles.java | package amidst;
import amidst.documentation.Immutable;
@Immutable
public enum FeatureToggles {
;
public static final boolean SEED_SEARCH = false;
}
|
amidst | src\main\java\amidst\ResourceLoader.java | package amidst;
import java.awt.image.BufferedImage;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.Properties;
import javax.imageio.ImageIO;
import amidst.do... |
amidst | src\main\java\amidst\clazz\Classes.java | package amidst.clazz;
import java.io.FileNotFoundException;
import java.net.URLClassLoader;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import amidst.clazz.real.JarFileParsingException;
import amidst.clazz.real.RealClass;
import amidst.... |
amidst | src\main\java\amidst\documentation\AmidstThread.java | package amidst.documentation;
import amidst.logging.FileLogger;
/**
* Each entry of this enum describes one type of thread that will ever exist in
* the project. It is only used for documentation purposes.
*/
public enum AmidstThread {
/**
* The thread that calls the main method at application startup. This wil... |
amidst | src\main\java\amidst\documentation\CalledByAny.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is similar to the annotation {@link CalledBy}. However, it
* sp... |
amidst | src\main\java\amidst\documentation\CalledOnlyBy.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation indicates that the constructor or method it is attached to
* ca... |
amidst | src\main\java\amidst\documentation\GsonConstructor.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is added to no argument-constructors that are used by gson to
*... |
amidst | src\main\java\amidst\documentation\Immutable.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation indicates that instance of this type cannot be modified after
*... |
amidst | src\main\java\amidst\documentation\NotNull.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is added to methods that will never return null.
*/
@Retention(... |
amidst | src\main\java\amidst\documentation\NotThreadSafe.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation indicates that the type it is attached was not designed with
* ... |
amidst | src\main\java\amidst\documentation\ThreadSafe.java | package amidst.documentation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation indicates that the type it is attached to is thread-safe.
* How... |
amidst | src\main\java\amidst\fragment\ClosestWorldIconFinder.java | package amidst.fragment;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
import amidst.fragment.layer.LayerDeclaration;
import amidst.mojangapi.world.coordinates.CoordinatesInWorld;
import amidst.mojangapi.world.icon.WorldIcon;
@NotThreadS... |
amidst | src\main\java\amidst\fragment\Fragment.java | package amidst.fragment;
import java.awt.image.BufferedImage;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.atomic.AtomicReferenceArray;
import java.util.function.UnaryOperator;
import amidst.documentation.AmidstThread;
import amid... |
amidst | src\main\java\amidst\fragment\FragmentCache.java | package amidst.fragment;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.ThreadSafe;
import amidst.fragment.constructor.FragmentConstructor;
import ami... |
amidst | src\main\java\amidst\fragment\FragmentGraph.java | package amidst.fragment;
import java.util.Iterator;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
import amidst.fragment.layer.LayerDeclaration;
import amidst.mojangapi.world.coordinates.CoordinatesInWorld;
import amidst.mojangapi.world.... |
amidst | src\main\java\amidst\fragment\FragmentGraphItem.java | package amidst.fragment;
import java.util.Iterator;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
@NotThreadSafe
public class FragmentGraphItem implements Iterable<FragmentGraphItem> {
/**
* This is an Iterator that is fail safe in t... |
amidst | src\main\java\amidst\fragment\FragmentManager.java | package amidst.fragment;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.... |
amidst | src\main\java\amidst\fragment\FragmentQueueProcessor.java | package amidst.fragment;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.locks.LockSupport;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledByAny;
import amidst.documentation.CalledOnlyBy;
import amidst.document... |
amidst | src\main\java\amidst\logging\AmidstLogger.java | package amidst.logging;
import java.util.HashMap;
import java.util.Map;
import amidst.documentation.ThreadSafe;
// TODO: switch to standard logging framework like slf4j + log4j?
@ThreadSafe
public class AmidstLogger {
private static final String DEBUG_TAG = "debug";
private static final String INFO_TAG = "info";
... |
amidst | src\main\java\amidst\logging\AmidstMessageBox.java | package amidst.logging;
import java.awt.Component;
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
import amidst.documentation.AmidstThread;
import amidst.documentation.CalledOnlyBy;
import amidst.documentation.NotThreadSafe;
@NotThreadSafe
public enum AmidstMessageBox {
;
public static void d... |
amidst | src\main\java\amidst\logging\ConsoleLogger.java | package amidst.logging;
import amidst.documentation.NotThreadSafe;
@NotThreadSafe
public class ConsoleLogger implements Logger {
@Override
public void log(String tag, String message) {
System.out.println("[" + tag + "] " + message);
}
}
|
amidst | src\main\java\amidst\logging\FileLogger.java | package amidst.logging;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
import java.sql.Timestamp;
import java.util.Date;
import java.util.concurrent.ConcurrentLin... |
amidst | src\main\java\amidst\logging\InMemoryLogger.java | package amidst.logging;
import amidst.documentation.NotThreadSafe;
@NotThreadSafe
public class InMemoryLogger implements Logger {
private StringBuffer buffer = new StringBuffer();
@Override
public void log(String tag, String message) {
buffer.append("[").append(tag).append("] ").append(message).append("\n");
}... |
amidst | src\main\java\amidst\logging\Logger.java | package amidst.logging;
public interface Logger {
void log(String tag, String message);
}
|
amidst | src\main\java\amidst\logging\MessageFormatter.java | package amidst.logging;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Objects;
import amidst.documentation.Immutable;
@Immutable
public enum MessageFormatter {
;
public static String format(Throwable e, String message) {
return format(message) + "\n\n" + format(e);
}
public static... |
amidst | src\main\java\amidst\mojangapi\LauncherProfileRunner.java | package amidst.mojangapi;
import java.util.Optional;
import amidst.documentation.Immutable;
import amidst.mojangapi.file.LauncherProfile;
import amidst.mojangapi.minecraftinterface.MinecraftInterfaceCreationException;
import amidst.mojangapi.world.WorldBuilder;
import amidst.mojangapi.world.WorldOptions;
@Immutable
... |
amidst | src\main\java\amidst\mojangapi\RunningLauncherProfile.java | package amidst.mojangapi;
import java.io.IOException;
import java.util.Optional;
import amidst.documentation.ThreadSafe;
import amidst.mojangapi.file.LauncherProfile;
import amidst.mojangapi.file.SaveGame;
import amidst.mojangapi.minecraftinterface.LoggingMinecraftInterface;
import amidst.mojangapi.minecraftinterface... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.