BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20210314T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20211107T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20210227T140000
DTEND;TZID=America/Los_Angeles:20210227T150000
DTSTAMP:20260515T082535
CREATED:20210228T002551Z
LAST-MODIFIED:20210228T002745Z
UID:6445-1614434400-1614438000@www.ayclogic.com
SUMMARY:2 PM - Minecraft Modding With Java
DESCRIPTION:We made the Saturn Axe spits out fireball.\nHomework:\n\nInside SaturnFireballAxe.java add the following code\n\n\npublic boolean hitEntity(ItemStack stack\, LivingEntity target\, LivingEntity attacker) {\n    target.setFire(5);\n    return super.hitEntity(stack\, target\, attacker);\n}\n\nYou might need to do some import if it is not automatically done by IntelliJ\n\nimport net.minecraft.item.*;\n\n\n\nInside ModItems.java\, reduce the attack damage of your SaturnSword from 10 to 2.\nStart your Minecraft from intelliJ\nSummon any creature. For example\, to summon an enderman\, you can use the following command\n\n/summon minecraft:enderman\n\n\nTry hitting the creature using your Saturn Axe LEFT click (not RIGHT click). If you did it properly\, when you hit the enderman using the Saturn Axe\, the creature should have been burn by the Axe.\nIf it works\, change the code instead of target.setFire(5); do below and see what happen to the creature when you hit using the axe (LEFT click)\ntarget.setNoGravity(true);
URL:https://www.ayclogic.com/event/2-pm-minecraft-modding-with-java-6/
CATEGORIES:Java,Minecraft Modding With Java
END:VEVENT
END:VCALENDAR