This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.multicoder.mcpaintball.item.utility; | |
import net.minecraft.core.BlockPos; | |
import net.minecraft.sounds.SoundSource; | |
import net.minecraft.world.InteractionResult; | |
import net.minecraft.world.entity.player.Player; | |
import net.minecraft.world.item.Item; | |
import net.minecraft.world.item.ItemStack; | |
import net.minecraft.world.item.context.UseOnContext; | |
import net.minecraft.world.level.Level; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final Codec<RemoteDetonatorList> REMOTE_DETONATOR_LIST_CODEC = RecordCodecBuilder.create(instance -> instance.group(Codec.list(Codec.LONG,0,Integer.MAX_VALUE).fieldOf("POSITIONS").forGetter(RemoteDetonatorList::positions)).apply(instance, RemoteDetonatorList::new)); | |
public static final StreamCodec<ByteBuf,RemoteDetonatorList> REMOTE_DETONATOR_LIST_NETWORKED_CODEC = StreamCodec.composite(ByteBufCodecs.fromCodec(Codec.list(Codec.LONG)),RemoteDetonatorList::positions,RemoteDetonatorList::new); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.multicoder.nec3.loot; | |
import com.mojang.serialization.MapCodec; | |
import com.mojang.serialization.codecs.RecordCodecBuilder; | |
import it.unimi.dsi.fastutil.objects.ObjectArrayList; | |
import net.minecraft.core.registries.BuiltInRegistries; | |
import net.minecraft.world.item.Item; | |
import net.minecraft.world.item.ItemStack; | |
import net.minecraft.world.level.storage.loot.LootContext; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have removed my project name and references due to the type of application being made | |
StackTrace: | |
at Yubico.PlatformInterop.NativeMethods.SCardEstablishContext(SCARD_SCOPE scope, SCardContext& context) | |
at Yubico.Core.Devices.SmartCard.DesktopSmartCardDeviceListener..ctor() | |
at Yubico.Core.Devices.SmartCard.SmartCardDeviceListener.Create() | |
at Yubico.YubiKey.YubiKeyDeviceListener..ctor() | |
at Yubico.YubiKey.YubiKeyDeviceListener.<>c.<.cctor>b__36_0() | |
at System.Lazy`1.CreateValue() | |
at System.Lazy`1.LazyInitValue() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java-library' | |
id 'eclipse' | |
id 'idea' | |
id 'maven-publish' | |
id 'net.neoforged.gradle.userdev' version '7.0.45' | |
} | |
version = mod_version | |
group = mod_group_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.multicoder.mcpaintball; | |
import net.fabricmc.api.ClientModInitializer; | |
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry; | |
import net.minecraft.client.render.entity.ArrowEntityRenderer; | |
import net.minecraft.client.render.entity.ProjectileEntityRenderer; | |
import net.minecraft.entity.EntityType; | |
import net.minecraft.util.Identifier; | |
import org.multicoder.mcpaintball.entity.MCPaintballEntities; | |
import org.multicoder.mcpaintball.entity.RedPaintballEntity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BluePaintballEntity extends AbstractArrow | |
{ | |
public BluePaintballEntity(EntityType<?> p_36721_, Level p_36722_) { | |
super((EntityType<? extends AbstractArrow>) p_36721_, p_36722_); | |
} | |
public BluePaintballEntity(EntityType<? extends AbstractArrow> p_36711_, double p_36712_, double p_36713_, double p_36714_, Level p_36715_) | |
{ | |
super(p_36711_, p_36712_, p_36713_, p_36714_, p_36715_); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'java-library' | |
id 'eclipse' | |
id 'idea' | |
id 'maven-publish' | |
id 'net.neoforged.gradle.userdev' version '7.0.26' | |
} | |
version = mod_version | |
group = mod_group_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[24Aug2023 15:04:10.038] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserveruserdev, --gameDir, ., --fml.forgeVersion, 47.1.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412, --nogui] | |
[24Aug2023 15:04:10.042] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Eclipse Adoptium; OS Windows 11 arch amd64 version 10.0 | |
[24Aug2023 15:04:10.172] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserveruserdev | |
[24Aug2023 15:04:10.227] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/I:/Forge/NEC3/Gradle/1.20.1/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%23128!/ Service=ModLauncher Env=SERVER | |
[24Aug2023 15:04:10.484] [main/WARN] [net.minecraftforge.f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.multicoder.mcpaintball.util.security; | |
import jdk.security.jarsigner.JarSigner; | |
import org.multicoder.mcpaintball.MCPaintball; | |
import java.security.CodeSigner; | |
import java.security.cert.Certificate; | |
import java.util.Objects; | |
public class PaintballInternalSecurity |
NewerOlder