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 com.valygard.aohruthless.metadatatutorial; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.entity.EntityType; | |
| import org.bukkit.entity.Player; | |
| import org.bukkit.entity.Zombie; | |
| import org.bukkit.metadata.FixedMetadataValue; | |
| /** | |
| * To put some context into it, I use metadata in relation to zombies in my King |
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
| [INFO] Scanning for projects... | |
| [INFO] | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Building Fountain 1.9.4-0.0.0 | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] | |
| [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fountain --- | |
| [INFO] Deleting /home/phase/projects/Fountain/target | |
| [INFO] | |
| [INFO] --- maven-resources-plugin:3.0.0:resources (default) @ fountain --- |
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 net.minecraft.block | |
| import net.canarymod.api.world.blocks.CanaryBlock | |
| import net.canarymod.hook.world.BlockPhysicsHook | |
| import net.canarymod.hook.world.RedstoneChangeHook | |
| import net.minecraft.block.material.Material | |
| import net.minecraft.block.state.IBlockState | |
| import net.minecraft.creativetab.CreativeTabs | |
| import net.minecraft.entity.Entity | |
| import net.minecraft.util.AxisAlignedBB | |
| import net.minecraft.util.BlockPos |
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
| --- minecraft/src/net/minecraft/server/management/PlayerInteractionManager.java 2016-06-05 00:35:06.357145211 -0700 | |
| +++ src/main/java/net/minecraft/server/management/PlayerInteractionManager.java 2016-06-10 22:33:59.329798819 -0700 | |
| @@ -197,6 +197,8 @@ | |
| } | |
| public boolean tryHarvestBlock(BlockPos var1) { | |
| + xyz.jadonfowler.fountain.api.Fountain.getServer().getPluginManager().getEventBus() | |
| + .fire(new xyz.jadonfowler.fountain.api.event.world.block.BlockBreakEvent(new xyz.jadonfowler.fountain.world.block.WetBlock(theWorld, var1))); | |
| if(this.gameType.isCreative() && this.thisPlayerMP.getHeldItemMainhand() != null && this.thisPlayerMP.getHeldItemMainhand().getItem() instanceof ItemSword) { | |
| return false; |
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
| { | |
| "a": { | |
| "hash": "af689c1eb35882f4ea54380e8f1937e7", | |
| "string": [ | |
| "[^a-z]", | |
| "", | |
| "\u00c2\u00a7", | |
| "BLACK", | |
| "DARK_BLUE", | |
| "DARK_GREEN", |
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
| CL: a net/minecraft/util/text/TextFormatting | |
| CL: aa net/minecraft/command/CommandEffect | |
| CL: aaa net/minecraft/entity/item/EntityEnderPearl | |
| CL: aad net/minecraft/entity/projectile/EntityTippedArrow | |
| CL: aah net/minecraft/entity/item/EntityMinecart | |
| CL: aap net/minecraft/entity/item/EntityMinecartTNT | |
| CL: ab net/minecraft/command/server/CommandEmote | |
| CL: abb net/minecraft/inventory/ContainerChest | |
| CL: abd net/minecraft/inventory/ContainerWorkbench | |
| CL: abf net/minecraft/inventory/ContainerEnchantment |
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
| import re | |
| regex = ''' public static final BlockType (.*) = getByName\((.*)\);''' | |
| pattern = re.compile(regex) | |
| register_block_lines = [] | |
| fields = [] | |
| with open('src/main/java/org/fountainmc/api/BlockType.java') as f: | |
| lines = f.readlines() |
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
| [11:08:44] [main/INFO]: Starting Fountain... | |
| Exception in thread "main" org.reflections.ReflectionsException: Scanner TypeAnnotationsScanner was not configured | |
| at org.reflections.Store.get(Store.java:58) | |
| at org.reflections.Store.get(Store.java:70) | |
| at org.reflections.Store.get(Store.java:65) | |
| at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:393) | |
| at org.reflections.Reflections.getTypesAnnotatedWith(Reflections.java:380) | |
| at org.fountainmc.world.block.WetBlockState.scanClasspath(WetBlockState.java:38) | |
| at org.fountainmc.world.block.WetBlockState.getFactories(WetBlockState.java:32) | |
| at org.fountainmc.world.block.WetBlockState.createState(WetBlockState.java:61) |
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
| import os | |
| patches = os.listdir(os.getcwd()+"/Spigot-Server-Patches") | |
| patches.sort() | |
| for patch in patches: | |
| print("- [ ] " + open("Spigot-Server-Patches/"+patch).readlines()[3].split("[PATCH] ")[1].split("\n")[0],) |
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
| Jun 18, 2016 8:11:34 AM blue.lapis.nocturne.mapping.model.InnerClassMapping setDeobfuscatedName | |
| SEVERE: Invalid obfuscated name: net/minecraft/server/BlockMonsterEggs$a | |
| Jun 18, 2016 8:11:34 AM blue.lapis.nocturne.mapping.model.InnerClassMapping setDeobfuscatedName | |
| SEVERE: Invalid obfuscated name: net/minecraft/server/BlockMonsterEggs$a | |
| Jun 18, 2016 8:11:34 AM blue.lapis.nocturne.mapping.model.InnerClassMapping setDeobfuscatedName | |
| SEVERE: Invalid obfuscated name: net/minecraft/server/BlockMonsterEggs$a | |
| Jun 18, 2016 8:11:34 AM blue.lapis.nocturne.mapping.model.InnerClassMapping setDeobfuscatedName | |
| SEVERE: Invalid obfuscated name: net/minecraft/server/BlockMonsterEggs$a | |
| Jun 18, 2016 8:11:34 AM blue.lapis.nocturne.mapping.model.InnerClassMapping setDeobfuscatedName | |
| SEVERE: Invalid obfuscated name: net/minecraft/server/BlockMonsterEggs$a |